How to install MySQL workbench on Ubuntu

- Advertisment -
- Advertisement -

MySQL Workbench is a tool that used a very rich Graphical user interface to provide a comprised visual platform for developers and database architectures or Database administrators. In simple words, the developers or administrators can visually design, generate, manage and model the databases directly from the interface of the MySQL Workbench.

In addition to data modelling the MySql Workbench also provides SQL development, build SQL queries, manage MySQL servers; other admin tools for database backup and recovery; configuring servers, users; audit data, monitoring, database health and more…

MySQL Workbench enables the developers to perform all kind of data modelling require for complicated ER models, forward and reverse engineering. From the Dashboard of the MySQL Workbench, the Database administrators can quickly view the performance reports and also get an idea where is the bottleneck and where the optimization is needed.

The best part is though MySQL-Workbench is an open source tool, available to all major and operating systems such as Windows, Linux and MacOS.

In this tutorial, we will show how to install MySQL Workbench on Ubuntu using command terminal.

Installing MySQL Workbench is super easy using the Ubuntu package manager. We are using Ubuntu 18.04 for this tutorial but you can use given steps on older versions too such as Ubuntu 17.04, 16.04, 15.04, and so on…

  1. First Go to your Ubuntu Desktop or server Linux Operating system.
  2. Open the Command Terminal. The keyboard shortcut for it is CTRL+ALT+T.
  3. After opening the Ubuntu Command Terminal, first, run the command to update and upgrade the Ubuntu.
    • sudo apt update
    • sudo apt upgrade
  4. Once the system updated, run the below command to download and install the MySQL Workbench on Ubuntu using Ubuntu package manager.
    • sudo apt install mysql-workbenchinstall mysql workbench ubuntu linux
  5. Now run the Ubuntu MySQL Workbench using the command:
    • mysql-workbench
  6. The above command will start the Workbench, however, you can explore more command of its by seeing the help section.
    • mysql-workbench --help
  7. After successful installation move to next step for configuration.MySQL workbench ubuntu

Usage overview MySQL Workbench on Ubuntu

If you are new to this tool and after installation, you want to have a look at how it works. Then you can click on the sample database provided by the MySQL called Sakila database. 

To access the demo database click on the Sakila full database icon.

Once it will you will get two tabs:

One shows the ER (Entity-relationship) diagram 

Mysql WOrkbench dema database ER diagram

And the other one will show the Database model 

MySQL Model Ubuntu

If you want to access your own Database into MySQL-Workbench then from the home screen of the tool click on the + icon.

MySQL connections

Now add the details of your MySQL database. Given some name to your new connection and then select the method by which you want to connect the MySQL. And then the IP address of MySQL server and username plus password associated with that databse. Then click on the OK button.

Setup new connection

For further MySQL Workbench, you can refer to the official site: Link

Command to uninstall MySQL workbench ubuntu

To uninstall MySQL Workbench on Ubuntu, first close and save you Database projects and then close the workbench too. Then get back to Ubuntu command terminal and run the below command to remove the MySQL-Workbench.

sudo apt-get remove mysql-workbench

uninstall mysql workbench ubuntu

Other Resources:



Rajkumar Maurya
Rajkumar Maurya is the H2S Media tech expert. He’s always been passionate about technology and has been writing on the subject since 2014. He has extensive knowledge of all kinds of technology, from consumer-tech to enterprise solutions. You can contact the author at--


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

Zebronics launches ZEB-Juke Bar 9000 sound bar with Dolby Digital Plus

Zebronics that has been working in the audio industry for a very long time recently has launched its new...

List of Best SQL Server Monitoring Tools with free trial in 2020

Monitoring database server not only for SQL but all kind of database systems is really a crucial task and need...

How to run Chrome extensions on Microsoft Edge Chromium browser

It is long since we know about Microsoft Edge, which is Microsoft's endeavour to dominate the market of browsers....

How to get dark mode on WhatsApp to keep eyes stress free

WhatsApp keeps adding new features to the app, and most features turn out to be useful for us, except...
- Advertisement -

73% of software developers willing to invest Rs 10-20k per year for upskilling

The rapid development in the technology area is compelling the firms and developers to gear up their technology skills...

Sony accidentally confirmed a massive News leak on PS5

The PlayStation 5 launch is just around the corner. Also, the rumours are about an upcoming meeting of Sony...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you