Skip to content

Latest commit

 

History

History
42 lines (19 loc) · 1.32 KB

How to install MySQL Server in Ubuntu.md

File metadata and controls

42 lines (19 loc) · 1.32 KB

How to install MySQL Server in Ubuntu

  1. Open the terminal. Use the command sudo apt-get install mysql-server.

  2. It will start the installation. Type Y or y when asked to continue.

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

  2. Once the installation is done, you will see something like the below.

  1. You can check by using mysql in the terminal. In case it throws an error, use the command sudo mysql -p to start mysql. You will need to enter the password you kept while installing mysql before.

How to install MySQL Workbench in Ubuntu

Note: You should have MySQL server installed in your system.

  1. Open the terminal. Use the command sudo apt-get install mysql-workbench. Enter password when prompted.

  2. Enter yes to continue the installation. You will see something as below when the installation is successful.

  1. After the installation is done, search for the workbench in the dashboard and double click on it to start it.

  1. You can right click and lock the workbench to launcher for easy access in the future.