apt-get install mysql-server mysql-client
Once the software has finished installing, the first thing we have to do is set up a root user password.
In the terminal window, enter
p. The following message will appear in the window, as shown in the following screenshot:
New password for the MySQL "root" user:
Repeat password for the MySQL "root" user:
That's it; we are done with MySQL for now.