PDA

View Full Version : Mysql problem


gmt2001
17-11-2006, 21:20
When i try to run TS with MySQL i get cannot load libmySQL.dll

i know i have the file. but its from MySQL 5. Do i maybe need hte MySQL 3 verison as ive seen in other posts around the forums? if so can someone give me a working link for it?

Reedy Boy
17-11-2006, 21:58
I use whatever version is in the php_mysql.dll module from the MySQL website

http://dev.mysql.com/get/Downloads/Connector-PHP/php_5.2.0_mysql_5.0.27-win32.zip/from/pick

And take out the libmysql.dll from that.... I think

Cant remember now


http://forum.goteamspeak.com/attachment.php?attachmentid=1022&d=1162399605

Is what works with mine

gmt2001
19-11-2006, 05:38
ill try that. thanks

Reedy Boy
19-11-2006, 12:20
No Problem



Sam

gmt2001
26-11-2006, 17:28
Of course it errored out again

With MySQL:
---------------------------------------------------------------
-------------- log started at 26-11-06 12:23 -------------
---------------------------------------------------------------
26-11-06 12:23:54,ALL,Info,server, Server init initialized
26-11-06 12:23:54,ALL,Info,server, Server version: 2.0.20.1 Win32
26-11-06 12:23:54,ERROR,All,SQL, Database initialization error: EDatabaseError.Unable to Load libmysql.dll
26-11-06 12:23:54,ERROR,All,SERVER, Start_Server: unable to open database
26-11-06 12:23:54,ERROR,All,GENERAL, critical error, shutdown initiated

Without:
---------------------------------------------------------------
-------------- log started at 26-11-06 12:24 -------------
---------------------------------------------------------------
26-11-06 12:24:02,ALL,Info,server, Server init initialized
26-11-06 12:24:02,ALL,Info,server, Server version: 2.0.20.1 Win32
26-11-06 12:24:02,ALL,Info,server, Starting VirtualServer id:1 with port:8767
26-11-06 12:24:03,ALL,Info,server, Server init finished


Server.ini:
[debug]
MessageTypes=LMTALL
MessageDepths=LMDALL
[Main Config]
ExternalIPDectection=1
HTTPServer Port=14534
HTTPServer Enabled=1
DateTimeFormat=dd-mm-yyyy hh:nn:ss
TCPQueryPort=51234
AllowedClientNameChars=
DisAllowedClientNameChars=()[]{}
BoundToIp1=
[WebPost]
AdminEmail=na
ISPLinkURL=na
ISPName=Private
ISPCountryNumber=2457
Enabled=0
PostURL=
ListPublic=0
UserAgent=teamspeak
[log]
access_r=0
access_u=0
channel_registerred=0
channel_unregisterred=0
sa=0
chat=0
kick_server=0
kick_channel=0
[Spam]
max_commands=10
in_seconds=2
[DBEXPRESS]
sqldir=mysql_sql\
Drivername=mysql
Database=*DBNAME*
Hostname=localhost
User_name=*USER*
Password=*PASS*
GetDriverFunc=getSQLDriverMYSQL
VendorLib=libmysql.dll
LibraryName=dbexpmysql.dll
Active=1

Reedy Boy
26-11-2006, 20:06
Luckily ANR Daemon has come up with an alternative method that works!

Try

http://forum.goteamspeak.com/showpost.php?p=147009&postcount=68

gmt2001
29-11-2006, 20:33
worked great. thanks