How To Install community-mysql-server on Fedora 36
Introduction
In this tutorial we learn how to install community-mysql-server
on Fedora 36.
What is community-mysql-server
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a client/server implementation consisting of a server daemon (mysqld) and many different client programs and libraries. This package contains the MySQL server and some accompanying files and directories.
We can use yum
or dnf
to install community-mysql-server
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install community-mysql-server.
Install community-mysql-server on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install community-mysql-server
using dnf
by running the following command:
sudo dnf -y install community-mysql-server
Install community-mysql-server on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install community-mysql-server
using yum
by running the following command:
sudo yum -y install community-mysql-server
How To Uninstall community-mysql-server on Fedora 36
To uninstall only the community-mysql-server
package we can use the following command:
sudo dnf remove community-mysql-server
community-mysql-server Package Contents on Fedora 36
/etc/logrotate.d/mysqld
/etc/my.cnf.d/community-mysql-server.cnf
/run/mysqld
/usr/bin/ibd2sdi
/usr/bin/innochecksum
/usr/bin/my_print_defaults
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
/usr/bin/myisamlog
/usr/bin/myisampack
/usr/bin/mysql_migrate_keyring
/usr/bin/mysql_secure_installation
/usr/bin/mysql_ssl_rsa_setup
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysql_upgrade
/usr/bin/mysqld_pre_systemd
/usr/bin/mysqldumpslow
/usr/bin/perror
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/b97084ea7eb6a46014ac9a076d0dedd158f2fb
/usr/lib/.build-id/09
/usr/lib/.build-id/09/f0281b9d03bc3985b2a39d6ed6ae1e3a213a5f
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/617aba87b60f4f30384c5109434648618c1e6d
/usr/lib/.build-id/10
/usr/lib/.build-id/10/a567a754ecbdfffafb74375be72d4e395a6ea9
/usr/lib/.build-id/11
/usr/lib/.build-id/11/482d2f7c698e83b7084d0b3c8d4bc4b3c1c6da
/usr/lib/.build-id/17
/usr/lib/.build-id/17/93dec734d204c1e0a0b51d25c504caa05e86ca
/usr/lib/.build-id/18
/usr/lib/.build-id/18/584dcb9c701e673c9d19ffc63e37f4bf6f193a
/usr/lib/.build-id/19
/usr/lib/.build-id/19/ee6a280893954b8ea0301b384426732ab42d60
/usr/lib/.build-id/24
/usr/lib/.build-id/24/7135171a2b6249d0f2f18960edcffcf1e270d0
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/b364ef9eefbbd17f1684cef6eca1fdd0b18aa6
/usr/lib/.build-id/30
/usr/lib/.build-id/30/8e844f69ef9fbee2e390500f031aecee89387c
/usr/lib/.build-id/34
/usr/lib/.build-id/34/ec53688708109d89db26f8e5bcb25cae0b5f9e
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/917d740fb141288c69007f53e7b675bf875556
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/17a8b6299b8a1c5809a386e38dc81faad37959
/usr/lib/.build-id/42
/usr/lib/.build-id/42/28af263d6add2205ea5b95228426deaaecdc62
/usr/lib/.build-id/43
/usr/lib/.build-id/43/3ef6f6696f99029a7d17de79fdd569654cf5e3
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/9e003e2fcd4f37d30c1a4169e1aa8f3b6eeed8
/usr/lib/.build-id/56
/usr/lib/.build-id/56/975dda1b31c30d8e0211147863c12099cd1da5
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/1956efb4c22ea471de42d025fe84c2e283b6e7
/usr/lib/.build-id/60
/usr/lib/.build-id/60/0c5b4202ae31c53c3f784dacb186313c46c213
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/5d6c250e9280351636903d434118b400f6acf7
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/2ab841cae829462797fd6bc8d42232f392237a
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/a267b1ecf6090eba633343e809ae38ec9f2662
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ce1eda30515c968155fbfcee3606a501ac61c6
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/3920fb5a535b0c43dcc8f55e52b54e8f0e40d9
/usr/lib/.build-id/9a/fbf499d02d0032b39996e1a15b4fb4f2e4b18d
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/447609f788c80dfb33633a950350c6855f329e
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/a9944c7bb04a27e0e206dcf3dc14f5d60850b0
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/53979c53e797d0dc66fed79042f4b2d73c1a70
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/4d46d94d6b0ccedf3f1337fe295b385477769e
/usr/lib/.build-id/c7/ea716adad08a8de718103622bda0a35bffb0ef
/usr/lib/.build-id/cf/5fcb46df857a5b285fd94db398a25311a2109d
/usr/lib/.build-id/cf/d1a6b693b5cdf76cdd66c3a34d097d9a5da8a8
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/84abda0b3067d5ca2ffdc82c3310947bfd1c22
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/28a1508255caefce9ce5bf49e40734b94031f1
/usr/lib/.build-id/d5/c5c892bb75a16764ae9f97c4853d18d5b9af08
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/7bcc5b434d10e61b3e328837c7108d76a4483a
/usr/lib/.build-id/db
/usr/lib/.build-id/db/26e6ff030bbbbe76e4e8570d153b991e31ae1e
/usr/lib/.build-id/e7/e276ae3b55cd9991f78e47eac18ccdc6230d7b
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/1da275175aefa9dc00fa9d9a551886e349bf32
/usr/lib/.build-id/ef/3d5e422b960562ea2b239f733e559d3aad3113
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/863eb08969a1a7e909de57d14f3056e219b48c
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/cc4bd3448443b3e4b769eec3984ef15eaba667
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/af9b0d24bf84a5b918b84cbfc4658b21a2bff7
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/77e15c4c9bd863b99490c8985afd9cfbc30973
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/0e29b0f924faa616868373264021257d3d7c50
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/aa4cdc367ddd50047698fc532e6f959a7481b6
/usr/lib/systemd/system/mysqld.service
/usr/lib/systemd/system/[email protected]
/usr/lib/tmpfiles.d/mysqld.conf
/usr/lib64/mysql/INFO_BIN
/usr/lib64/mysql/INFO_SRC
/usr/lib64/mysql/plugin
/usr/lib64/mysql/plugin/adt_null.so
/usr/lib64/mysql/plugin/auth_socket.so
/usr/lib64/mysql/plugin/component_audit_api_message_emit.so
/usr/lib64/mysql/plugin/component_keyring_file.so
/usr/lib64/mysql/plugin/component_log_filter_dragnet.so
/usr/lib64/mysql/plugin/component_log_sink_json.so
/usr/lib64/mysql/plugin/component_log_sink_syseventlog.so
/usr/lib64/mysql/plugin/component_mysqlbackup.so
/usr/lib64/mysql/plugin/component_query_attributes.so
/usr/lib64/mysql/plugin/component_reference_cache.so
/usr/lib64/mysql/plugin/component_validate_password.so
/usr/lib64/mysql/plugin/connection_control.so
/usr/lib64/mysql/plugin/daemon_example.ini
/usr/lib64/mysql/plugin/ddl_rewriter.so
/usr/lib64/mysql/plugin/group_replication.so
/usr/lib64/mysql/plugin/ha_example.so
/usr/lib64/mysql/plugin/ha_mock.so
/usr/lib64/mysql/plugin/innodb_engine.so
/usr/lib64/mysql/plugin/keyring_file.so
/usr/lib64/mysql/plugin/keyring_udf.so
/usr/lib64/mysql/plugin/libmemcached.so
/usr/lib64/mysql/plugin/libpluginmecab.so
/usr/lib64/mysql/plugin/locking_service.so
/usr/lib64/mysql/plugin/mypluglib.so
/usr/lib64/mysql/plugin/mysql_clone.so
/usr/lib64/mysql/plugin/mysql_no_login.so
/usr/lib64/mysql/plugin/rewrite_example.so
/usr/lib64/mysql/plugin/rewriter.so
/usr/lib64/mysql/plugin/semisync_master.so
/usr/lib64/mysql/plugin/semisync_replica.so
/usr/lib64/mysql/plugin/semisync_slave.so
/usr/lib64/mysql/plugin/semisync_source.so
/usr/lib64/mysql/plugin/validate_password.so
/usr/lib64/mysql/plugin/version_token.so
/usr/libexec/mysql-check-socket
/usr/libexec/mysql-prepare-db-dir
/usr/libexec/mysql-scripts-common
/usr/libexec/mysql-wait-stop
/usr/libexec/mysqld
/usr/sbin/mysqld
/usr/share/community-mysql/dictionary.txt
/usr/share/community-mysql/innodb_memcached_config.sql
/usr/share/community-mysql/install_rewriter.sql
/usr/share/community-mysql/uninstall_rewriter.sql
/usr/share/man/man1/ibd2sdi.1.gz
/usr/share/man/man1/innochecksum.1.gz
/usr/share/man/man1/lz4_decompress.1.gz
/usr/share/man/man1/my_print_defaults.1.gz
/usr/share/man/man1/myisam_ftdump.1.gz
/usr/share/man/man1/myisamchk.1.gz
/usr/share/man/man1/myisamlog.1.gz
/usr/share/man/man1/myisampack.1.gz
/usr/share/man/man1/mysql_secure_installation.1.gz
/usr/share/man/man1/mysql_ssl_rsa_setup.1.gz
/usr/share/man/man1/mysql_tzinfo_to_sql.1.gz
/usr/share/man/man1/mysql_upgrade.1.gz
/usr/share/man/man1/mysqldumpslow.1.gz
/usr/share/man/man1/mysqlman.1.gz
/usr/share/man/man1/perror.1.gz
/usr/share/man/man8/mysqld.8.gz
/var/lib/mysql
/var/lib/mysql-files
/var/lib/mysql-keyring
/var/log/mysql
/var/log/mysql/mysqld.log
References
Summary
In this tutorial we learn how to install community-mysql-server
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).