{"id":14068,"date":"2022-01-17T17:54:52","date_gmt":"2022-01-17T17:54:52","guid":{"rendered":"https:\/\/linuxways.net\/?p=14068"},"modified":"2022-01-18T18:32:20","modified_gmt":"2022-01-18T18:32:20","slug":"how-to-install-and-use-mysql-workbench-on-fedora-35-34-33-32","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/red-hat\/how-to-install-and-use-mysql-workbench-on-fedora-35-34-33-32\/","title":{"rendered":"How to Install and Use MySQL Workbench on Fedora 35\/34\/33\/32"},"content":{"rendered":"<p>MySQL Workbench is a multi-platform GUI tool for interacting with MySQL relational databases. It offers a user-friendly interface for carrying out tasks involved with databases. It is used by developers, database admins for creation and modification of physical data model, SQL development, and server administration.<\/p>\n<p>This guide will take you through two approaches to install MySQL<\/p>\n<p>workbench on Fedora.<\/p>\n<h2><strong>Option 1: Install MySQL from the YUM repository<\/strong><\/h2>\n<p>To install MySQL from YUM repository, follow the steps below.<\/p>\n<h3><strong>Step 1: Update Fedora system<\/strong><\/h3>\n<p>Right off the bat, refresh Fedora\u2019s system repositories and update the packages<\/p>\n<pre><strong>$ sudo yum update<\/strong><\/pre>\n<h3><strong>Step 2: Download MySQL Workbench Yum Repository<\/strong><\/h3>\n<p>MySQL is not available in the default Fedora OS repository. As such, it\u2019s imperative that you install it before anything else.<\/p>\n<p>So, heav over to the <a href=\"https:\/\/dev.mysql.com\/downloads\/repo\/yum\/\">MySQL downloads page<\/a> and download the repo for Fedora.<\/p>\n<p>For Fedora 32, run:<\/p>\n<pre><strong>$ wget sudo dnf -y install https:\/\/dev.mysql.com\/get\/mysql80-community-release-fc32-1.noarch.rpm<\/strong><\/pre>\n<p>For Fedora 33, run:<\/p>\n<pre><strong>$ wget https:\/\/dev.mysql.com\/get\/mysql80-community-release-fc33-2.noarch.rpm<\/strong><\/pre>\n<p>For Fedora 34, run:<\/p>\n<pre><strong>$ wget https:\/\/dev.mysql.com\/get\/mysql80-community-release-fc34-2.noarch.rpm<\/strong><\/pre>\n<p>For Fedora 35, run:<\/p>\n<pre><strong>$ wget <\/strong><a href=\"https:\/\/dev.mysql.com\/get\/mysql80-community-release-fc35-1.noarch.rpm\"><strong>https:\/\/dev.mysql.com\/get\/mysql80-community-release-fc35-1.noarch.rpm<\/strong><\/a><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"305\" class=\"wp-image-14069\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-387.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-387.png 754w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-387-300x121.png 300w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><\/strong><\/p>\n<p>After the RPM file download, run the following command to install MySQL.<\/p>\n<pre><strong>$ sudo rpm -Uvh mysql80-community-release-*<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"755\" height=\"184\" class=\"wp-image-14070\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-388.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-388.png 755w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-388-300x73.png 300w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><\/strong><\/p>\n<p>Next, install MySQL workbench with the command:<\/p>\n<pre><strong>$ sudo yum install mysql-workbench<\/strong><\/pre>\n<h2><strong>Option 2: Install using snapd<\/strong><\/h2>\n<p>Alternatively, install MySQL Workbench on Fedora using snapd. As a requirement, confirm that you have snap enabled on Fedora<\/p>\n<p>To install snapd, run the command:<\/p>\n<pre><strong>$ sudo dnf install snapd<\/strong><\/pre>\n<p>Then, enable snapd as follows:<\/p>\n<pre><strong>$ sudo systemctl enable --now snapd.socket<\/strong><\/pre>\n<p>After that, install MySQL workbench from snap store with the following command:<\/p>\n<pre><strong>$ sudo snap install mysql-workbench-community<\/strong><\/pre>\n<h2><strong>Using MySQL Workbench<\/strong><\/h2>\n<p>After the installation, launch MySQL workbench with the command:<\/p>\n<pre><strong>$ mysql-workbench<\/strong><\/pre>\n<p>You will see the following output:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"1125\" height=\"806\" class=\"wp-image-14071\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-389.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-389.png 1125w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-389-300x215.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-389-1024x734.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-389-768x550.png 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/strong><\/p>\n<p>Next, connect to your database, you can either connect on localhost or another instance by clicking on + at the bottom left on your screen. Provide the details as shown below.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"575\" class=\"wp-image-14072\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-390.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-390.png 701w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-390-300x246.png 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/strong><\/p>\n<p>If you are connecting to a local database, fill in the password.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"272\" class=\"wp-image-14073\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-391.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-391.png 432w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-391-300x189.png 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/strong><\/p>\n<p>The MYSQL workbench dashboard will pop up as demonstrated.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"1124\" height=\"813\" class=\"wp-image-14074\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-392.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-392.png 1124w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-392-300x217.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-392-1024x741.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-392-768x556.png 768w\" sizes=\"auto, (max-width: 1124px) 100vw, 1124px\" \/><\/strong><\/p>\n<p>On this dashboard, you can manage users and privilege, create schemas and even monitor database performance.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"1306\" height=\"744\" class=\"wp-image-14075\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-393.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-393.png 1306w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-393-300x171.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-393-1024x583.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-393-768x438.png 768w\" sizes=\"auto, (max-width: 1306px) 100vw, 1306px\" \/><\/strong><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Now you can manage your SQL databases using MySQL workbench on Fedora.<\/p>","protected":false},"excerpt":{"rendered":"<p>MySQL Workbench is a multi-platform GUI tool for interacting with MySQL relational databases. It offers a user-friendly interface for carrying out tasks involved with databases. It is used&hellip;<\/p>","protected":false},"author":1,"featured_media":14144,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[165],"tags":[857,856,826,831,27],"class_list":["post-14068","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-red-hat","tag-fedora-32","tag-fedora-33","tag-fedora-34","tag-fedora-35","tag-mysql"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/14068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=14068"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/14068\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/14144"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=14068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=14068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=14068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}