Web Projects Consulting

MySQL Workbench GUI on Fedora 10 x86_64

Sometimes you feel romantic and want to get something else than phpMyAdmin to communicate to MySQL.

Download mysql-workbench-oss-5.2.1-1fc10.src.rpm from one of the mirrors picked up here:

http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-oss-5.2.1-1fc10.src.rpm/from/pick#mirrors

Install tools and dependencies (at least I was required to do that, your list may be different):

sudo yum -y install gcc autoconf rpmdevtools
sudo yum -y install pcre-devel lua-devel uuid-devel

Compile (prepare for a quite long run):

sudo rpmbuild --rebuild mysql-workbench-oss-5.2.1-1fc10.src.rpm

The output will result in a file named mysql-workbench-oss-5.2.1-1%{targos}.x86_64.rpm (am I doing anything wrong?)
Install:

mv  /home/USERNAME/rpmbuild/RPMS/x86_64/mysql-workbench-oss-5.2.1-1%{targos}.x86_64.rpm  mysql-workbench-oss-5.2.1-1.fc10.x86_64.rpm ./
sudo yum -y localinstall --nogpgcheck mysql-workbench-oss-5.2.1-1.fc10.x86_64.rpm

Fix wrong paths (ugly way):

sudo ln -s /usr/lib64/mysql-workbench /usr/lib/mysql-workbench

Run:

mysql-workbench &

It works, see the below:

MySQL Workbench

MySQL Workbench

To be updated with usage impressions

Leave a Reply

Your email address will not be published. Required fields are marked *


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