Install MYSQL Workbench on Ubuntu 22.04

MYSQL Workbench is a unified tool that is used to design the visual database. It integrates SQL development that designs, creates, and maintains the database system. It is a GUI application that consists of different tools that are utilized to perform several operations for the MYSQL database such as Oracle, Firebird, PostgreSQL, etc.

MYSQL workbench permits the users (administrators) to create, design, and maintain the database. It is also a valuable tool for system administrators working on Linux. Keeping in view the importance of the MYSQL Workbench, this post provides an insight into the installation of MYSQL on Ubuntu 22.04.

Method 1: How to Install MYSQL Workbench on Ubuntu 22.04 Using Debian package?

Ubuntu does not come with the MYSQL Workbench packages with its default packages repository. However, it can be installed on Ubuntu 22.04 using the .deb package. To fulfill this aim, follow the below-mentioned step-by-step process:

Step 1: Download the Debian package

To download the Debian package of MYSQL Workbench, use the following link in the browser:

https://dev.mysql.com/downloads/repo/apt/

It will open the official Oracle page. Next, click on the Download button as follows:

Click on the following mentioned option to start the downloading process:

As soon the downloading is completed, the .deb file will be saved in the “Downloads” directory:

The .deb package of MYSQL Workbench is downloaded.

Step 2: Install the MYSQL Workbench on Ubuntu 22.04

After downloading the .deb file successfuly, move to the Downloads directory and right-click on Debian file of MYSQL Workbench. Choose the Software Install option and click on Select as follows:

After doing this, the following interface will appear. To Install the application, click on the Install option:

In the following authentication pop-up, enter the Password and press the Enter button to push the Authenticate option:

It will install the MYSQL Workbench on Ubuntu 22.04 as follows:

The Delete icon represents that the application has been installed successfully.

How to launch MYSQL Workbench on Ubuntu 22.04?

After the successful installation of MYSQL Workbench on Ubuntu 22.04, Launch it using the following procedure.

Click on the Activities and search the MYSQL Workbench in the search bar.

Click on the MYSQL application. It will open the following welcome interface:

MYSQL Workbench is open and ready to use.

How to remove MYSQL Workbench from Ubuntu 22.04?

If you want to remove/uninstall the MYSQL Workbench from Ubuntu 22.04, go along with the provided guide below:

Step 1: Open the MYSQL Workbench application

To open the MYSQL Workbench application, go to the Downloads and right click on the MYSQL Workbench .deb file. Choose the Software Install option and click on Select option as follows:

Step 2: Remove MYSQL Workbench

To remove the MYSQL Workbench from Ubuntu 22.04, click on the Delete icon as follows:

Click on Uninstall option in the following pop-up:

It will lead you to the authentication window. Enter the Password and hit the Enter key to push the Authenticate option:

After authentication, MYSQL Workbench will be removed from Ubuntu 22.04.

The Install option narrates that the application has been removed successfully.

Method 2: How to Install MYSQL Workbench on Ubuntu 22.04 Using Snap?

The MYSQL workbench is available via snap. You can install MYSQL Workbench on Ubuntu 22.04 via the following command:

$ sudo snap install mysql-workbench-community

The output narrated that MYSQL Workbench is installed on Ubuntu 22.04.

How to Remove MYSQL Workbench from Ubuntu 22.04?

If you have installed MYSQL Workbench on Ubuntu 22.04 using the terminal. You can remove/uninstall it with the help of the following command:

$ sudo snap remove mysql-workbench-community

It can be seen that the MYSQL Workbench community is removed/uninstalled from Ubuntu 22.04.

Congratulations! You have successfully learned the installation method of MYSQL Workbench on Ubuntu 22.04 along with the MYSQL server.

Conclusion

MYSQL Workbench can be installed on Ubuntu 22.04 using the terminal (sudo snap install mysql-workbench-community) and Debian package. MYSQL Workbench is a unified tool that is used to design the visual database. It integrates SQL development that designs, creates, and maintains the database system. This blog illustrates the installation of MYSQL Workbench along with its prerequisites (MYSQL server) on Ubuntu 22.04. We also provided the uninstallation process of the MYSQL Workbench community from Ubuntu 22.04.