Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Programming Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Programming Talk
This forum is for all programming questions.
The questions do not have to be directly related to Ubuntu and any programming language is allowed.

 
Thread Tools Display Modes
Old February 5th, 2006   #1
dave84
5 Cups of Ubuntu
 
Join Date: Nov 2005
Beans: 13
howto install dbdesigner4

hi everybody bothering about how to install dbdesigner!

currently i'm running mysql 5.0 on my notebook and i got dbdesigner working after solving quite a lot of problems.
what helped me a lot were the explanations from

http://wiki.splitbrain.org/dbdesigner

(you should do everything explained in the "It needs a shared library from Kylix:"-section.) and also do:

download the libborqt-6.9.0-2.i386.rpm from http://sourceforge.net/project/showf...ckage_id=68416
Code:
alien libborqt-6.9.0-2.i386.rpm
  dpkg -i libborqt_6.9.0-3_i386.deb

when you cannot go along after struggling through these instructions try this:

1. edit the last line of the startdbd script to:
Code:
$app_path/DBDesigner4 $* #2> ~/.DBDesigner4/DBD4.log
now try to start again and take care of the failure message:

when you get s.th. like

" symbol lookup error: blablabla/Linuxlib/libqt.so.2: undefined symbol: XftPatternGetString"

make a symbolic link with these command (from the dir where you extracted the tarball):

Code:
cd DBDesigner4/Linuxlib
Code:
sudo rm libqt.so.2
Code:
ln -s /usr/lib/usr/lib/kylix3/libborqt-6.9.0-qt2.3.so ./
2. now you should be able to start dbdesigner4
(maybe there is a missing symlink; try around a little bit)

3. when you try to connect to the mysql-database and you get an error that tells you something about "cannot load libmysqlclient.so" then again:

Code:
sudo rm libmysqlclient.so
Code:
ln -s /usr/lib/usr/lib/libmysqlclient.so.14.0.0 libmysqlclient.so
4. restart the dbdesigner4 and try to connect again. when an error message pops up and tells you about wrong username and password then enable the use of old passwords with your mysql-administrator and set up a new password with:

Code:
set password for 'mysql'@'localhost' = old_password('mysql');
Code:
flush privileges;
5. try it again, now it should work!

please correct this post, if I have messed s.th up and apologize my bad english
dave84 is offline   Reply With Quote
Old August 5th, 2006   #2
drippy
Spilled the Beans
 
Join Date: Jun 2006
My beans are hidden!
Smile Re: howto install dbdesigner4

Dave: thanks a lot for this post, I finally got DBDesigner working after reading through your steps and doing some debugging along the way.
drippy is offline   Reply With Quote
Old August 9th, 2006   #3
sitedesign
A Carafe of Ubuntu
 
Join Date: Sep 2005
Location: Birmingham, UK
Beans: 118
Ubuntu 7.04 Feisty Fawn
Re: howto install dbdesigner4

I have just tried these instruction and some others I found on the web but I get DBDesigner running, only I can't connect to the MySQL database.

The error is:
Unable to load libsqlmy.so

Any ideas.

Running Dapper.
__________________
Regards Peter King
Web SiteDesign.net Ltd
Professional web site design company in Birmingham England.
www.sitedesign.net
sitedesign is offline   Reply With Quote
Old August 11th, 2006   #4
steparianwolf
First Cup of Ubuntu
 
steparianwolf's Avatar
 
Join Date: Apr 2006
Location: Mexico city
Beans: 8
Ubuntu 7.04 Feisty Fawn
Send a message via MSN to steparianwolf Send a message via Skype™ to steparianwolf
Re: howto install dbdesigner4

Hi:

I wrote a small guide to install and keep working DBDesigner in Ubuntu, in fact I'm using Ubuntu Dapper and DBDesigner without problems.. take a look at this: http://www.ubuntuforums.org/showthre...ght=dbdesigner

I hope it works for you
__________________
There are 10 kind of people, who knows binary code and who doesn't
steparianwolf is offline   Reply With Quote
Old October 17th, 2006   #5
devnulljp
Gee! These Aren't Roasted!
 
devnulljp's Avatar
 
Join Date: Oct 2005
Beans: 214
Re: howto install dbdesigner4

Quote:
Originally Posted by steparianwolf View Post
Hi:

I wrote a small guide to install and keep working DBDesigner in Ubuntu, in fact I'm using Ubuntu Dapper and DBDesigner without problems.. take a look at this: http://www.ubuntuforums.org/showthre...ght=dbdesigner

I hope it works for you
Link's dead - any ideas?
devnulljp is offline   Reply With Quote
Old October 17th, 2006   #6
talz13
Gee! These Aren't Roasted!
 
Join Date: Feb 2005
Location: Cleveland, OH
Beans: 164
Ubuntu 9.04 Jaunty Jackalope
Re: howto install dbdesigner4

When I tried installing the kylix libs, it complains that xlibs is not installed. I found xlibs-dev in synaptic and installed that, but still the problem remains.
talz13 is offline   Reply With Quote
Old October 18th, 2006   #7
dragomirov
Just Give Me the Beans!
 
dragomirov's Avatar
 
Join Date: Mar 2006
Location: Italy
Beans: 54
Ubuntu 7.04 Feisty Fawn
Re: howto install dbdesigner4

open a console and get/install xlibs

wget http://www.chorse.org/junkroom/xlibs...8.2-77_all.deb

sudo dpkg -i xlibs_6.8.2-77_all.deb
__________________
GNU & Linux -The dynamic duo
dragomirov is offline   Reply With Quote
Old November 9th, 2006   #8
Marco Modesto
First Cup of Ubuntu
 
Join Date: Jun 2006
Location: Belo Horizonte / MG - Brazil
Beans: 4
Ubuntu 6.06
Re: howto install dbdesigner4

The Link for libborqt-6.9.0-2.i386.rpm is broken:
http://sourceforge.net/project/showf...ckage_id=68416


I found this package in RPM Find: http://www.rpmfind.net/

Working link:
ftp://fr2.rpmfind.net/linux/sourcefo...9.0-2.i386.rpm


[]s

Marco Modesto.
Marco Modesto is offline   Reply With Quote
Old December 26th, 2006   #9
21croissants
First Cup of Ubuntu
 
Join Date: Dec 2006
Beans: 2
Re: howto install dbdesigner4

In fact, I'd like to recommand strongly to use wine and the Windows installer. It will save you a lot of time with the configuration and the user interface will be nicer

I have put some details on my blog:
http://21croissants.blogspot.com/200...gner-4-on.html
21croissants is offline   Reply With Quote
Old June 11th, 2007   #10
eracerbit
First Cup of Ubuntu
 
eracerbit's Avatar
 
Join Date: Mar 2007
Beans: 6
Lightbulb how to do it the easy way

Here's a condensed cut-n-paste version =) works great under Ubuntu 7.04 "Feisty"

Code:
sudo -s
enter your password

Code:
### setting up ###
mkdir ~/dbdesigner-install
cd ~/dbdesigner-install

### downloading rpm packages ###
wget http://213.115.162.124/external/DBDesigner4/DBDesigner4-0.5.4-0.i586.rpm
wget ftp://fr2.rpmfind.net/linux/sourceforge/s/sk/skychart/libborqt-6.9.0-1.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.turbolinux.com/pub/TurboLinux/stable/tested/Workstation/7/i586/MySQL-shared-3.23.58-8.i586.rpm

### installing alien ###
apt-get install alien

### converting rpm packages to deb packages ###
alien *.rpm

### installing deb packages ###
dpkg -i *.deb

### creating links to libraries and executable ###
cd /usr/lib
ln -s DBDesigner4/libsqlmy.so
cd /usr/bin
ln -s /opt/DBDesigner4/DBDesigner4 dbdesigner

### exiting root and starting dbdesigner ###
exit
dbdesigner & sleep 5 && killall dbdesigner

### editing user config ###
cd ~/.DBDesigner4
sed s/libmysqlclient.so$/libmysqlclient.so.10/ DBConn_DefaultSettings.ini > temp
cp temp DBConn_DefaultSettings.ini && rm temp

### all done, running dbdesigner ###
dbdesigner
Here's whats going on: We download the dbdesigner rpm, the borland qt rpm, and the mysqlclient 10 rpm, use alien to convert them to deb packages, and install the deb packages. Then, we make some symlinks and run dbdesigner to let it set up some config files, kill it, and then edit the config files. Fun!

Last edited by eracerbit; June 12th, 2007 at 11:45 PM..
eracerbit is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:34 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry