Installing the MySQL Server
- Install the MySQL database:
OS Command RHEL MySQL is no longer included with RHEL. You must download the repository from the MySQL site and install it directly. You can use the following commands to install MySQL. For more information, visit the MySQL website.
wget <URL to MySQL RPM>
sudo rpm -ivh <filename>.rpm
sudo yum update
sudo yum install mysql-server
sudo systemctl start mysqld
SLES sudo zypper install mysql libmysqlclient_r17
Ubuntu sudo apt-get install mysql-server