-
Download Generic x86 tarball from http://dev.mysql.com/downloads/gui-tools/5.0.html
mv mysql-gui-tools-5.0 /usr/local/
-
Create symlinks to PATH location:
ln -s /usr/local/mysql-gui-tools-5.0/mysql-query-browser-bin /usr/local/bin/mysql-query-browser-bin
ln -s /usr/local/mysql-gui-tools-5.0/mysql-query-browser /usr/local/bin/mysql-query-browser
ln -s /usr/local/mysql-gui-tools-5.0/mysql-administrator /usr/local/bin/mysql-administrator
ln -s /usr/local/mysql-gui-tools-5.0/mysql-administrator-bin /usr/local/bin/mysql-administrator-bin
-
Create symlinks to /usr/local/share
ln -s /usr/local/mysql-gui-tools-5.0/locale /usr/local/share/locale
ln -s /usr/local/mysql-gui-tools-5.0/mysql-gui /usr/local/share/mysql-gui
-
Almost done..
At this point mysql-administrator should be fully working.
However with mysql-quer-browser, I received a shared library dependency “libgtkhtml-2” error, when ever I tried to start it. It turns out Ubuntu 10.10 has libgtkhtml-3.14 installed. Manual download and install libgtkhtml-2 needs to performed since it’s no longer in the Ubuntu Universal repositories for 10.10.
http://packages.ubuntu.com/lucid/i386/libgtkhtml2-0/download
tony@acer01:~$ mysql-query-browser
/usr/local/mysql-gui-tools-5.0/mysql-query-browser-bin: error while loading shared libraries: libgtkhtml-2.so.0: cannot open shared object file: No such file or directory
dpkg -i libgtkhtml2-0_2.11.1-2ubuntu3_i386.deb
Why didn’t you install the mysql-admin package? http://packages.ubuntu.com/lucid/mysql-admin
I wasn’t aware of this package. I will look into it.
Thanks for the tip.
-Tony