Install MySQL and Query Browser in Ubuntu

To open the Terminal, go to Application > Accessories > Terminal

Open terminal in ubuntu
Open terminal in ubuntu

Type the following command at terminal.

  • $sudo apt-get install mysql-server
console screen look like during downloading the mysql in Ubuntu
console screen look like during downloading the mysql in Ubuntu

  • mysql comes with no root password. To set the root password, type:

$mysqladmin -u root password your-new-password

$sudo /etc/init.d/mysql restart

  • Install mysql query browser

$sudo apt-get install mysql-query-browser

  • After installing, go to Applications > Programming > MySQL Query Browser to connect to mysql as shown below.
open mysql query browser in ubuntu
open mysql query browser in ubuntu

Enter Server Hostname, Username and Password. Click on Connect and MySQL is now installed on Ubuntu.

Connect to MySQL using Query Browser in Ubuntu
Connect to MySQL using Query Browser in Ubuntu


  1. Hi there, I consider that your writing is rather observing as it highlights lots of insightful info. Anyhow, was wondering whether you would willing to interchange web links with my web site, as I am looking to compile more web links to further spear point and get better web exposure for my web site. I don’t really mind you laying my contacts at the homepage, just accepting this web links on this particular link is great and enough. Furthermore, would you be kind enough reach me at my website if you are interested in swapping links, I would really appreciate that. Thanks and hopefully to hear from you soon!

  2. Thanks for sharing, I found this story while googling for new lyrics, interesting comments and good points made.

  3. hi there, i just saw your blog via google, and i must say that you write pretty good via your website. i am actually motivated by the mode that you compose, and the subject is excellent. anyways, i would also like to acknowledge whether you would like to exchange links with my site? i will be to the great extent than willing to reciprocate and drop your link off in the link section. looking for your respond, i give my sincere thanks and gooday!

  4. Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.

  5. Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I¡¯ll be subscribing to your feed and I hope you write again soon!

  6. I would like to say, nice webpage. Im not sure if it has been addressed, however when using Firefox I can never get the entire page to load without refreshing alot of times. Could just be my modem.

  7. Sorry for the huge review, but I’m really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it’s the right choice for you.

  8. Pingback: Opera
  9. Thank you very much for this post.

    I have been going through various books on MySQL for beginners and they all gloss over how this is done. I’m new to Ubuntu and MySql, I tried using the Ubuntu software centre, that method failed, it says

    “Requires installation of untrusted packages.”

    You click the link, and get

    “mysql-admin mysql gui tools-common mysql-query-browser”, which is what I want and it doesn’t install.

    Using your method it worked first time.

    Many thanks for this post

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.