MySQL server<\/a> execute the following command:<\/p>\n\n\n\nsudo dnf install mysql-server mysql -y<\/pre>\n\n\n\nStart and enable the mysqld.service with the following commands:<\/p>\n\n\n\n
sudo systemctl start mysqld && sudo systemctl enable mysqld<\/pre>\n\n\n\nCheck the status of the mysqld.service<\/p>\n\n\n\n
sudo systemctl status mysqld<\/pre>\n\n\n\nYou should receive the following output:<\/p>\n\n\n\n
[root@host ~]# sudo systemctl status mysqld\n\u25cf mysqld.service - MySQL 8.0 database server\n Loaded: loaded (\/usr\/lib\/systemd\/system\/mysqld.service; enabled; vendor preset: disabled)\n Active: active (running) since Fri 2023-03-10 16:00:59 CST; 39s ago\n Main PID: 7539 (mysqld)\n Status: \"Server is operational\"\n Tasks: 39 (limit: 24796)\n Memory: 454.4M\n CPU: 9.763s\n CGroup: \/system.slice\/mysqld.service\n \u2514\u25007539 \/usr\/libexec\/mysqld --basedir=\/usr\n\nMar 10 16:00:46 host.test.vps systemd[1]: Starting MySQL 8.0 database server...\nMar 10 16:00:46 host.test.vps mysql-prepare-db-dir[7457]: Initializing MySQL database\nMar 10 16:00:59 host.test.vps systemd[1]: Started MySQL 8.0 database server.\n<\/pre>\n\n\n\n