-
Open the terminal. Use the command
sudo apt-get install mysql-server
. -
It will start the installation. Type
Y
ory
when asked to continue.
-
You may be asked to type a password to for the user. Enter a password of you choice. Remember this password or better write it down as it will be needed to access mysql server later.
-
Once the installation is done, you will see something like the below.
- You can check by using
mysql
in the terminal. In case it throws an error, use the commandsudo mysql -p
to start mysql. You will need to enter the password you kept while installing mysql before.
Note: You should have MySQL server installed in your system.
-
Open the terminal. Use the command
sudo apt-get install mysql-workbench
. Enter password when prompted. -
Enter yes to continue the installation. You will see something as below when the installation is successful.
- After the installation is done, search for the workbench in the dashboard and double click on it to start it.
- You can right click and lock the workbench to launcher for easy access in the future.