{"id":13895,"date":"2022-09-08T23:22:18","date_gmt":"2022-09-08T20:22:18","guid":{"rendered":"https:\/\/kifarunix.com\/?p=13895"},"modified":"2024-03-09T21:28:59","modified_gmt":"2024-03-09T18:28:59","slug":"install-mysql-workbench-on-oracle-linux","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-mysql-workbench-on-oracle-linux\/","title":{"rendered":"Install MySQL Workbench on Oracle Linux 8"},"content":{"rendered":"\n

In this tutorial, you will learn how to install MySQL Workbench on Oracle Linux 8. MySQL Workbench<\/a> is graphical user interface tool that is used by GUI centric database administrators\/architects\/developers to administer and manage MySQL servers and databases. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more.<\/p>\n\n\n\n

Install MySQL Workbench on Oracle Linux 8<\/h2>\n\n\n\n

MySQL Workbench is a GUI based tool. It therefore means that you need to have a desktop environment installed.<\/p>\n\n\n\n

In this tutorial, we are installing MySQL Workbench on Oracle Linux 8 Desktop.<\/p>\n\n\n\n

Install MySQL YUM Repository on Oracle Linux 8<\/h3>\n\n\n\n

The MySQL Yum repository<\/a> provides the latest version of MySQL Workbench. You can install the repo by executing the command below (ensure you download the current version of the repo rpm from the repository downloads page).<\/p>\n\n\n\n

sudo dnf install https:\/\/repo.mysql.com\/\/mysql80-community-release-el8-4.noarch.rpm<\/code><\/pre>\n\n\n\n

Sample installation output;<\/p>\n\n\n\n

\nmysql80-community-release-el8-4.noarch.rpm       11 kB\/s |  14 kB     00:01    \nDependencies resolved.\n================================================================================\n Package                        Arch        Version     Repository         Size\n================================================================================\nInstalling:\n mysql80-community-release      noarch      el8-4       @commandline       14 k\n\nTransaction Summary\n================================================================================\nInstall  1 Package\n\nTotal size: 14 k\nInstalled size: 8.6 k\nIs this ok [y\/N]: y\nDownloading Packages:\nRunning transaction check\nTransaction check succeeded.\nRunning transaction test\nTransaction test succeeded.\nRunning transaction\n  Preparing        :                                                        1\/1 \n  Installing       : mysql80-community-release-el8-4.noarch                 1\/1 \n  Verifying        : mysql80-community-release-el8-4.noarch                 1\/1 \n\nInstalled:\n  mysql80-community-release-el8-4.noarch                                        \n\nComplete!\n<\/code><\/pre>\n\n\n\n

Installing MySQL Workbench on Oracle Linux 8<\/h3>\n\n\n\n

Once the repository is in place, you can now install MySQL Workbench on Oracle Linux using the command below;<\/p>\n\n\n\n

sudo dnf install mysql-workbench-community<\/code><\/pre>\n\n\n\n
\nMySQL 8.0 Community Server                                                                                                                  780 kB\/s | 2.3 MB     00:03    \nMySQL Connectors Community                                                                                                                   89 kB\/s |  79 kB     00:00    \nMySQL Tools Community                                                                                                                       311 kB\/s | 521 kB     00:01    \nDependencies resolved.\n============================================================================================================================================================================\n Package                                    Architecture            Version                                                    Repository                              Size\n============================================================================================================================================================================\nInstalling:\n mysql-workbench-community                  x86_64                  8.0.30-1.el8                                               mysql-tools-community                   40 M\nInstalling dependencies:\n libglvnd-opengl                            x86_64                  1:1.3.4-1.el8                                              ol8_appstream                           47 k\n libzip                                     x86_64                  1.5.1-2.module+el8.2.0+5510+6771133c                       ol8_appstream                           63 k\n pcre-cpp                                   x86_64                  8.42-6.el8                                                 ol8_baseos_latest                       47 k\n proj                                       x86_64                  6.3.2-4.el8                                                ol8_developer_EPEL                     2.0 M\n proj-datumgrid                             noarch                  1.8-6.3.2.4.el8                                            ol8_developer_EPEL                     5.4 M\n python38-libs                              x86_64                  3.8.12-1.module+el8.6.0+20556+9910889d                     ol8_appstream                          8.3 M\n python38-pip-wheel                         noarch                  19.3.1-5.module+el8.6.0+20556+9910889d                     ol8_appstream                          1.0 M\n python38-setuptools-wheel                  noarch                  41.6.0-5.module+el8.5.0+20371+4f24d723                     ol8_appstream                          304 k\nEnabling module streams:\n httpd                                                              2.4                                                                                                    \n nginx                                                              1.14                                                                                                   \n php                                                                7.2                                                                                                    \n python38                                                           3.8                                                                                                    \n\nTransaction Summary\n============================================================================================================================================================================\nInstall  9 Packages\n\nTotal download size: 58 M\nInstalled size: 266 M\nIs this ok [y\/N]: y\n<\/code><\/pre>\n\n\n\n

Running MySQL Workbench on Oracle Linux<\/h3>\n\n\n\n

Once the installation is done, you can launch MySQL Workbench from your applications menu;<\/p>\n\n\n\n

\"Install<\/figure><\/a><\/div>\n\n\n\n

Or from the command line by running;<\/p>\n\n\n\n

mysql-workbench<\/code><\/pre>\n\n\n\n

When launched, this is the default interface;<\/p>\n\n\n\n

\"Install<\/figure><\/a><\/div>\n\n\n\n

You can go through the menu for various MySQL Workbench options.<\/p>\n\n\n\n

Connecting MySQL Workbench to a Database<\/h3>\n\n\n\n

To connect to a database from MySQL Workbench, you can navigate to menu > Databases > Manage connections > New<\/strong>.<\/p>\n\n\n\n

Or simply from welcome page, press MySQL Connections +<\/strong><\/p>\n\n\n\n

On the new database connection setting Wizard;<\/p>\n\n\n\n