Ubuntu Server 18.04 ; Installing MySQL
Installing MySQL
1.Install the necessary packages.
# apt update
# apt install mysql-server
2.Configure security settings for MySQL server.
There is a tool called mysql_secure_installtion that can be used to configure security-related settings for the MySQL server.
When you run it, it will ask you a series of questions to help you configure some security settings.