I wanted to install mysql on my laptop to use in projects where I need a database. I'm confused, because I've seen some questions on this site: How to install mysql on Ubuntu 16.04 But I do not know where to find mysql. Can you tell me the steps to follow? Thank you.
Roughly the three points which are spoken about in the other thread is correct
- Install mysql-server
Better upgrade the system first:
sudo apt-get update && sudo apt-get upgrade
After the system upgrade install mysql-server
sudo apt-get install mysql-server
Create a mysql root user. Normally the system should ask you for a root user password, which will be the admin password for your DB.
If this is not the case, or you'd like to change it, the following command should be helpful.