PDA

View Full Version : Need help Mysql database


om3ega
21-03-2004, 13:24
I am a happy teamspeak user :) .. I upgraded the server to the newest version (2.0.20.1)

I run Mandrake 10 and MySQL 4.0.18

Teamspeak is running smootly on its own sql engine , but when I add this to the server.ini


[DBEXPRESS]
sqldir=mysql_sql/
Drivername=mysql
Database=teamspeak
Hostname=localhost
User_name=teamspeak
Password=password
GetDriverFunc=getSQLDriverMYSQL
VendorLib=/usr/lib/libmysqlclient_r.so.12
LibraryName=./libsqlmy.so
Active=1


I get the following error message in the log


------------- log started at 21-03-04 14:13 -------------
---------------------------------------------------------------
21-03-04 14:13:06,ALL,Info,server, Server init initialized
21-03-04 14:13:06,ALL,Info,server, Server version: 2.0.20.1 Linux
21-03-04 14:13:06,ERROR,All,SQL, Database initialization error: EDatabaseError.Unable to Load /usr/lib/libmysqlclient.so.12
21-03-04 14:13:06,ERROR,All,SERVER, Start_Server: unable to open database


The database exist and the username and password are checked.

The file libmysqlclient.so.12 also exists (in fact I tryed them all)


<root@server tss2_rc># locate libmysqlclient
/usr/lib/libmysqlclient.so.12.0.0
/usr/lib/libmysqlclient.so.12
/usr/lib/libmysqlclient_r.so.12.0.0
/usr/lib/libmysqlclient_r.so.12


So I think the LLibraryName=./libsqlmy.so is wrong. Anyone who can help me?

madcat
21-03-2004, 14:32
teamspeak seens incompatiable with mysql 4.0

you have to get a 3.0 driver for this, look for more info here, he got it working with mysql 4.0

http://www.teamspeak.org/forums/showthread.php?s=&threadid=9270&perpage=15&pagenumber=6

om3ega
21-03-2004, 22:35
Thanks , I will give it a try :) ...

ScratchMonkey
23-03-2004, 18:53
Copied from my post under Linux server dependencies:

For those who've upgraded MySQL to 4.0 using the RPM's at the MySQL website, be sure to install the RPM for MySQL-shared-compat and set VendorLib=/usr/lib/libmysqlclient.so.10
in server.ini. The ".10" invokes the v3 compatibility library. Without that you'll get the incompatible v4 library.