MySQL Query Browser in Ubuntu 12.04

I going to outright say it: MySQL Workbench completely sucks. It is a convoluted, complicated, steaming pile of bloated nonsense. It is hard to perform a simple query. Worse, the damn thing keeps crashing. I missed the simplicity of MySQL Query Browser. Yet, Oracle deprecated it a while back and Canonical removed the package in Ubuntu 12.04.

After some searching, I found that Tyler Wagner maintains an APT repository containing MySQL Query Browser ported from Oneiric.

I summarize the installation here:

sudo apt-add-repository 'deb http://www.tolaris.com/apt/ precise main'
wget -q http://www.tolaris.com/apt/tolaris-keyring.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install mysql-query-browser

So, a big shout out to Tyler for doing this work!

Edit: You do need to execute sudo apt-get update before install. Thanks, Steve!

16 Responses to “MySQL Query Browser in Ubuntu 12.04”


  1. 1 steve September 7, 2012 at 2:44 pm

    One step before sudo apt-get install is:

    sudo apt-get update

  2. 3 Safir September 19, 2012 at 6:17 am

    Thanks a lot :)

  3. 4 francordie November 12, 2012 at 8:54 am

    Thanks dude!

  4. 5 grol November 26, 2012 at 11:25 am

    Thanks a lot! I really like the simple client :)

  5. 8 kudosvasu January 30, 2013 at 10:11 am

    thanks……..

  6. 9 Darshan K V February 4, 2013 at 9:42 am

    Thanks A Lot,,Man,,,,I’m Looking,,,For This One,,,,From LongTime,,,,,,,,Thank You,,,

  7. 10 Kranthi Kishore February 9, 2013 at 9:18 am

    thanks dude but i didn undrstand one command..
    wget -q http://www.tolaris.com/apt/tolaris-keyring.gpg -O- | sudo apt-key add –

    Is this a full command? how to execute this? Sorry but am not expert in ubuntu..So help me

    • 11 Ralph Allan Rice February 9, 2013 at 3:37 pm

      @Kranthi it is actually multiple commands. The pipe (|) is a shell operation that links (or “pipes”) the output of the wget command to the input of the sudo command. The sudo command is a wrapper that executes another command (in this case, the apt-key command) with superuser (“root”) privileges.

  8. 13 Chris38B March 14, 2013 at 11:15 am

    Can you please help as I am pretty new to all of this stuff. I am trying to install the MySQL Query Browser

    I have followed the instructions to install the mysql query browser, however I keep getting the following error “E: The list of sources could not be read.”

    Here is a full listing

    root@Netsup3:/etc/apt# sudo apt-add-repository ‘deb http://www.tolaris.com/apt/precise main’

    root@Netsup3:/etc/apt# wget http://www.tolaris.com/apt/tolaris-keyring.gpg -O- | sudo apt-key add –
    –2013-03-14 21:56:14– http://www.tolaris.com/apt/tolaris-keyring.gpg
    Resolving http://www.tolaris.com (www.tolaris.com)… 80.251.0.15
    Connecting to http://www.tolaris.com (www.tolaris.com)|80.251.0.15|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 929 [text/plain]
    Saving to: ‘STDOUT’

    100%[=======================================================================================>] 929 –.-K/s in 0s

    2013-03-14 21:56:16 (109 MB/s) – written to stdout [929/929]

    OK

    ************************************************************

    The following lines are added to the sources.list file

    deb http://www.tolaris.com/apt/precise main
    deb-src http://www.tolaris.com/apt/precise main

    *************************************************************

    root@Netsup3:/etc/apt# sudo apt-get update
    E: Malformed line 60 in source list /etc/apt/sources.list (dist parse)
    E: The list of sources could not be read.
    root@Netsup3:/etc/apt#

    Any assistance would be appreciated.

    Thanks in advance.

    • 14 Ralph Allan Rice March 14, 2013 at 11:32 am

      What does line 60 of /etc/apt/sources.list actually say? I do not think the lines that were added was the problem, but maybe something existing before you ran the commands. You should be able to view and correct the problem.

  9. 15 Chris38B March 17, 2013 at 7:30 am

    Thanks for the reply.

    Line 60 is deb http://www.tolaris.com/apt/precise main

    Line 61 is deb-src http://www.tolaris.com/apt/precise main

    Should been any extra on these lines.

    Chris38B

  10. 16 hannesh April 18, 2013 at 8:11 am

    Hell to the Yeah! This really made my day! Thanks!


Comments are currently closed.




Follow

Get every new post delivered to your Inbox.

%d bloggers like this: