Thursday, November 8, 2007

Mysql GUI Tools

Mysql Workbench, Query Browser, Administrator Tools For Ubuntu Gutsy 7.10 AMD64.

1. I downloaded the source code from mysql.com
2. Goto each directory and run these commands (no migration for linux)
#find out which glade libraries you have
#optional ./autogen.sh [--enable-grt] [--enable-canvas] [--with-gtkhtml=libgtkhtml-3.8]
sh ./autogen.sh --with-gtkhtml=libgtkhtml-3.8
make
sudo make install

3. When you get a glade error, fix it with a little editing
#(mysql-query-browser-bin:5108): libglade-WARNING **: could not find glade file '/usr/local//usr/local/share/mysql-gui/common/preferences.glade'
terminate called after throwing an instance of 'MGGladeXML::Error'

sudo pico /usr/local/bin/mysql-workbench
# - export MWB_DIR="$DIRNAME"
# +
export MWB_DIR="/"

sudo pico /usr/local/bin/mysql-query-browser
# - export MQB_DIR="$DIRNAME"
# +
export MQB_DIR="/"

sudo pico /usr/local/bin/mysql-administrator
# - export MA_DIR="$DIRNAME"
# +
export MA_DIR="/"

Hope that helps.
Brandon

Good Reference:
https://help.ubuntu.com/community/MySqlWorkBench
http://forge.mysql.com/wiki/Building_MySQL_GUI_Tools_on_Linux

1 comment:

Unknown said...

Thanks a million, Brandon! You just made my day. Possibly week. Hey, maybe month!

Trying out the Dart Analysis Server

I wanted to see how the Dart Analysis Server was put together and worked. I started looking to see how I could wire it up and try out the co...