2

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.

1 Answers1

3

Roughly the three points which are spoken about in the other thread is correct

  1. 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
  1. 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.

  2. If this is not the case, or you'd like to change it, the following command should be helpful.

    sudo mysql_secure_installation

s1mmel
  • 2,124