MySQL on Ubuntu – initial setup

30/09/2018 0 By walsk

Some notes to myself, in order to remember this next time.

Out of the box you enter with 

$ sudo mysql

Add some users:

> CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';

And don’t forget to grant some privileges.


Chapters from (actual now) MySQL 8.0 Reference guide: