{"id":623,"date":"2021-08-02T10:15:37","date_gmt":"2021-08-02T10:15:37","guid":{"rendered":"https:\/\/serverhub.com\/kb\/?p=623"},"modified":"2021-11-30T00:52:38","modified_gmt":"2021-11-30T00:52:38","slug":"how-to-install-mysql-on-ubuntu-the-proven-2021-guide","status":"publish","type":"post","link":"https:\/\/serverhub.com\/kb\/how-to-install-mysql-on-ubuntu-the-proven-2021-guide\/","title":{"rendered":"How to Install MySQL on Ubuntu? The Proven 2021 guide"},"content":{"rendered":"\n<p class=\"has-black-color has-text-color\">We all know by now that MySQL stands out as a competent database for TOO MANY projects! <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Regardless of your business size, MySQL can deliver unmatched performance at the lowest prices. <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Consequently, it is <a href=\"https:\/\/serverhub.com\/kb\/howto\/mysql-the-most-popular-open-source-database-system\/\"><strong>the most popular&nbsp;open-source&nbsp;database<\/strong><\/a> globally, a more reason for learning how to install MySQL.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Additionally, it is commonly installed as part of the popular\u00a0LAMP\u00a0stack (<strong><a href=\"https:\/\/serverhub.com\/kb\/what-is-ubuntu-linux-and-how-to-install-it\/\" target=\"_blank\" rel=\"noreferrer noopener\">Linux<\/a><\/strong>, <strong><a href=\"https:\/\/serverhub.com\/kb\/how-to-install-apache-on-ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">Apache<\/a><\/strong>, MySQL, <strong><a href=\"https:\/\/serverhub.com\/kb\/how-to-install-php-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">PHP<\/a><\/strong>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">By the end of this MySQL tutorial<\/h2>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li>You\u2019ll be able to run a complete MySQL installation using the Ubuntu operating system.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL tutorial requirements<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"733\" height=\"477\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements.png\" alt=\"Schedule for MySQL tutorial requirements \" class=\"wp-image-730\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements.png 733w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements-300x195.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements-480x312.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements-519x338.png 519w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements-580x377.png 580w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-tutorial-requirements-438x285.png 438w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Update package repository<\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\">To do this, you\u2019ll need to open the terminal and run the following command:<\/p>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>sudo apt update<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"724\" height=\"528\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1.png\" alt=\"Update package repository using Ubuntu Linux system\" class=\"wp-image-732\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1.png 724w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1-300x219.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1-480x350.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1-463x338.png 463w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1-555x405.png 555w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Update-package-repository-1-391x285.png 391w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-text-color\">Next, enter your password and wait for the package manager to finish updating.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Afterward, type in your terminal:<\/p>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>sudo apt upgrade<\/strong><\/li><\/ul>\n\n\n\n<p class=\"has-black-color has-text-color\">When asked for confirmation, hit <strong>Y,<\/strong> then <strong>ENTER<\/strong>, to proceed and finish upgrading.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>P.S.<\/strong> Make sure you have <strong>enough space<\/strong> before upgrading.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"726\" height=\"532\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade.png\" alt=\"Confirm package repository upgrade using Ubuntu\" class=\"wp-image-733\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade.png 726w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade-300x220.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade-480x352.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade-461x338.png 461w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade-553x405.png 553w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Confirm-repository-upgrade-389x285.png 389w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-luminous-vivid-orange-background-color has-text-color has-background\"><strong>Critical note: <\/strong>starting by updating the system package repository will:<\/p>\n\n\n\n<ul class=\"has-black-color has-text-color wp-block-list\"><li>Guarantee you the <strong><a href=\"https:\/\/dev.mysql.com\/downloads\/mysql\/\" target=\"_blank\" rel=\"noreferrer noopener\">latest MySQL version<\/a> <\/strong>installation.<\/li><li>protect your outdated software<\/li><li>shorten future updates time<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Install MySQL on Ubuntu<\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\">Now that we successfully updated the package repository, it\u2019s time to <strong>install MySQL Server<\/strong>.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Do that by inputting the following command:<\/p>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>sudo apt install mysql-server<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"729\" height=\"488\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL.png\" alt=\"Install MySQL on Ubuntu \" class=\"wp-image-734\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL.png 729w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL-300x201.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL-480x321.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL-505x338.png 505w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL-580x388.png 580w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Install-MySQL-426x285.png 426w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-text-color\">As usual, hit Y, ENTER, and make sure you have enough space for <strong>installing MySQL.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Optional: check if you successfully installed MySQL by running:<\/h3>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>mysql &#8211;version<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"671\" height=\"38\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Verify-mysql-installation.png\" alt=\"Verify MySQL installation on Ubuntu\" class=\"wp-image-735\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Verify-mysql-installation.png 671w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Verify-mysql-installation-300x17.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Verify-mysql-installation-480x27.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Verify-mysql-installation-580x33.png 580w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Verify-mysql-installation-665x38.png 665w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Securing MySQL <\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\">MySQL is indeed insecure after installation, but we are about to fix that in the next 2-minutes!<\/p>\n\n\n\n<ol type=\"1\" class=\"has-black-color has-text-color wp-block-list\"><li>Enhance your MySQL user account security with a password by running this security script:<\/li><\/ol>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>sudo mysql_secure_installation<\/strong><\/li><\/ul>\n\n\n\n<ol type=\"1\" start=\"2\" class=\"has-black-color has-text-color wp-block-list\"><li>Enter your password, input&nbsp;Y, and choose the password difficulty level you want.<br><\/li><li>Pick the password strength you want, put in your password, then re-enter it for confirmation.<br><\/li><li>Once you are satisfied with the program\u2019s estimated strength of <strong>your password<\/strong> (scales from 1 to 100), hit Y.<\/li><\/ol>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>&#8220;As crystal clear in the screenshot below, there are three levels of difficulty&#8221;:<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">0&nbsp;&#8211; <strong><em>Low<\/em><\/strong>: A simple password with at least 8 characters.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">1&nbsp;&#8211; <strong><em>Medium<\/em><\/strong>: A normal password with at least 8 characters, including numeric, mixed case, and special characters.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">2&nbsp;&#8211; <strong><em>Strong<\/em><\/strong>: A hard password with at least 8 characters, including numeric, mixed case, special characters, and dictionary file. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"729\" height=\"493\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL.png\" alt=\"Security measures on Ubuntu\" class=\"wp-image-736\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL.png 729w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL-300x203.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL-480x325.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL-500x338.png 500w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL-580x392.png 580w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/securing-MySQL-421x285.png 421w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-luminous-vivid-orange-background-color has-text-color has-background\"><strong>Extra:<\/strong> The terminal script will promote the following security features next:<\/p>\n\n\n\n<ul class=\"has-black-color has-text-color wp-block-list\"><li>Removing anonymous users<\/li><li>Disallowing root login remotely<\/li><li>Removing test database and accessing it<\/li><li>Reloading privilege tables<\/li><\/ul>\n\n\n\n<p class=\"has-black-color has-text-color\">Normally, you would put in a Y for all the questions. <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">However, shall you wish a different outcome for whatever reason, enter any other key than (Y).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"719\" height=\"528\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures.png\" alt=\"Confirming security measures on Ubuntu\" class=\"wp-image-737\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures.png 719w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures-300x220.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures-480x352.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures-460x338.png 460w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures-552x405.png 552w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/MySQL-security-measures-388x285.png 388w\" sizes=\"(max-width: 719px) 100vw, 719px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Checking MySQL service up &amp; running<\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\">Then, despite how you installed MySQL, it should start running automatically.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Verify MySQL status by typing:<\/p>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>systemctl status mysql.service<\/strong><\/li><\/ul>\n\n\n\n<p class=\"has-black-color has-text-color\">Since you came all this way by following everything meticulously, it\u2019s time to gain the fruits of your <strong>dedicated <\/strong>work!<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Prepare to witness an output like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"723\" height=\"189\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Running-MySQL-successfully.png\" alt=\"Running MySQL successfully on Ubuntu\" class=\"wp-image-738\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Running-MySQL-successfully.png 723w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Running-MySQL-successfully-300x78.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Running-MySQL-successfully-480x125.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Running-MySQL-successfully-580x152.png 580w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Running-MySQL-successfully-665x174.png 665w\" sizes=\"(max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-text-color\">In English, this means that <em>MySQL <\/em>is now up and running!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Log in MySQL server<\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\">It\u2019s about time you log in to that <strong>MySQL server<\/strong> you created yourself!<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Your final step would be to enter the following command:<\/p>\n\n\n\n<ul class=\"has-black-color has-pale-cyan-blue-background-color has-text-color has-background wp-block-list\"><li><strong>sudo mysql -u root<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"710\" height=\"276\" src=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Log-in-MySQL-server.png\" alt=\"Log in MySQL server on Ubuntu\" class=\"wp-image-739\" srcset=\"https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Log-in-MySQL-server.png 710w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Log-in-MySQL-server-300x117.png 300w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Log-in-MySQL-server-480x187.png 480w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Log-in-MySQL-server-580x225.png 580w, https:\/\/serverhub.com\/kb\/wp-content\/uploads\/2021\/08\/Log-in-MySQL-server-665x259.png 665w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>Voila, this is it!<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Now you can use MySQL for data warehousing, e-commerce, creating web databases, plus many more!<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Also, feel free to take a look at the <strong><a href=\"https:\/\/dev.mysql.com\/downloads\/installer\/\" target=\"_blank\" rel=\"noreferrer noopener\">MySQL installer<\/a><\/strong> while at it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Instantly create your website with ServerHub<\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>ServerHub<\/strong> offers 100% Uptime, 24\/7 support, and multiple single 40GB interface connectivities. <\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Spanning 9 locations globally, offering <a href=\"https:\/\/serverhub.com\/dedicated-servers\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>dedicated servers<\/strong><\/a>, custom quotes, and unprecedented prices.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong><a href=\"https:\/\/serverhub.com\/vps\/ssd-vps\" target=\"_blank\" rel=\"noreferrer noopener\">From $5 a month!<\/a><\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Please give us a hello at <a href=\"https:\/\/serverhub.com\/company\/contact\"><strong>support@serverhub.com<\/strong><\/a> and let us guide you <strong>freely <\/strong>to your own website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"has-black-color has-text-color\">With a basic yet fully functional MySQL server installed on your server and your database server that is up and running.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Nothing can stop you from seeking the endless possibilities of <strong>MySQL&#8217;s<\/strong> <strong>major advantages<\/strong> and discovering the best ways <strong>to optimize your business<\/strong> with them! &nbsp;<\/p>\n\n\n\n<p class=\"has-black-color has-vivid-green-cyan-background-color has-text-color has-background\"><strong> <strong>This tutorial is a part of the LAMP stack guide series.<\/strong>  <\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Check out the rest of the series: <\/p>\n\n\n\n<p><strong><a href=\"https:\/\/serverhub.com\/kb\/howto\/what-is-ubuntu-linux-and-how-to-install-it\/\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><strong><a href=\"https:\/\/serverhub.com\/kb\/what-is-ubuntu-linux-and-how-to-install-it\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install the latest Ubuntu Linux? Beginner\u2019s guide<\/a><\/strong><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/serverhub.com\/kb\/how-to-install-apache-on-ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Install Apache On Ubuntu? The Comprehensive Guide<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/serverhub.com\/kb\/how-to-install-php-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Install PHP on Ubuntu 20.04? Step-by-step Easy Guide<\/strong><\/a><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Or check out other most visited articles:<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/serverhub.com\/kb\/how-to-install-a-fivem-server-on-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Install A FiveM Server On Linux<\/a><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/serverhub.com\/kb\/howto\/mysql-the-most-popular-open-source-database-system\/\" target=\"_blank\" rel=\"noreferrer noopener\">MySQL: The Most Popular Open-Source Database<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We all know by now that MySQL stands out as a competent database for TOO MANY projects! Regardless of your business size, MySQL can deliver unmatched performance at the lowest prices. Consequently, it is the most popular&nbsp;open-source&nbsp;database globally, a more reason for learning how to install MySQL. Additionally, it is commonly installed as part of &#8230; <a title=\"How to Install MySQL on Ubuntu? The Proven 2021 guide\" class=\"read-more\" href=\"https:\/\/serverhub.com\/kb\/how-to-install-mysql-on-ubuntu-the-proven-2021-guide\/\" aria-label=\"More on How to Install MySQL on Ubuntu? The Proven 2021 guide\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":728,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[91,60,96,61,89,59,1],"tags":[24,98,23,63],"class_list":["post-623","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database","category-how-to","category-lamp","category-linux","category-mysql","category-ubuntu","category-uncategorized","tag-databases","tag-lamp","tag-mysql","tag-ubuntu"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/posts\/623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/comments?post=623"}],"version-history":[{"count":3,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/posts\/623\/revisions"}],"predecessor-version":[{"id":1063,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/posts\/623\/revisions\/1063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/media\/728"}],"wp:attachment":[{"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/media?parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/categories?post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverhub.com\/kb\/wp-json\/wp\/v2\/tags?post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}