Home Linux Graphical Tools How to Install MySQL Workbench in Ubuntu 20.04

How to Install MySQL Workbench in Ubuntu 20.04

There are two approaches to achieving your MySQL database administration goals. One is through a command-line client and the other one is via a graphical user interface. Both of these two approaches are evident with MySQL.

Most users rely on phpMyAdmin to administer and manage their MySQL databases. However, the GUI spectrum of phpMyAdmin does not match the graphical tools MySQL Workbench has to offer.

The MySQL Workbench database management tool is unmatched in its execution of database visual designs. Also, MySQL workbench has a dynamic user platform from database administrators, database architects, to database developers.

MySQL Bench Features

MySQL Workbench is available in three editions. They are the Community, Standard, and Enterprise editions. This article guide will focus on the Community edition since it’s released under the open-source GPL license.

This open-source edition parades some very interesting features like data modeling, data migration, visual SQL development, visual DB administration, and connection management.

Before continuing with the article guide, be certain that you are a root user or you have Sudo privileges on the Ubuntu system you are using. Also, the MySQL database server software should already be pre-installed on your Ubuntu 20.04 system.

Installing MySQL Workbench in Ubuntu Linux

The first step prior to the installation of MySQL Workbench is to make sure that your Ubuntu system is up-to-date.

$ sudo apt update && sudo apt upgrade -y

Next, we need to retrieve a MySQL APT Repository configuration file from the MySQL Community Downloads page or use the following command to download directly on the terminal.

$ wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb

Navigate to the download directory and install the mysql-apt-config file by implementing the following command execution.

$ sudo apt install ./mysql-apt-config_0.8.22-1_all.deb

The execution of the above command will lead to a GUI prompt asking you to select the MySQL version you are currently using. Navigate to the [Ok] option as shown on the screenshot below and hit [Enter] on your keyboard.

Configure MySQL APT Configuration
Configure MySQL APT Configuration

Once the installation of MySQL configuration is complete without any issues, update the apt-cache again.

$ sudo apt update

Now, to install MySQL Workbench Community Edition on Ubuntu through the APT repository, execute the following command:

$ sudo apt install mysql-workbench-community
Install MySQL Workbench in Ubuntu
Install MySQL Workbench in Ubuntu

Now that we are sure MySQL Workbench Community Edition is installed on our Ubuntu system, it is time to put it to the test by launching it.

$ mysql-workbench

You will be greeted with the following interface.

MySQL Workbench Page
MySQL Workbench Page

From here, you can interact with the various MySQL Workbench interfaces that will help you propel your database administration experience.

MySQL Workbench Dashboard
MySQL Workbench Dashboard

[ You might also like: MySQL Database Commands Cheat Sheet for Linux ]

With MySQL Workbench, you become more than a database administrator as all your database administration and management needs are met under a single GUI whether you are dealing with local or remote databases.

Ravi Saive
I am an Experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies. Founder of TecMint.com, LinuxShellTips.com, and Fossmint.com. Over 150+ million people visited my websites.

Each tutorial at UbuntuMint is created by a team of experienced writers so that it meets our high-quality standards.

Was this article helpful? Please add a comment to show your appreciation and support.

Got something to say? Join the discussion.

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published or shared. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.