[Ubuntu]Install the MySQL server and MySQL Workbench on Ubuntu – Install MySQL sever and MySQL Workbench on ubuntu

Open the terminal and run the following command to install MySQL server on Ubuntu:
sudo apt-get install mysql-server
During the installation process if the machine requires the root password is set to enter pass. Contrary, if no request to enter the password, he must set a password for the root account of the MySQL server:
mysql -u root
Type in the following command to enter the pass:
SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD('Your password');
MySQL Workbench Settings
sudo apt-get install mysql-workbench
That's it.