You are not logged in.

#1 2011-03-25 12:59:58

Votan
Member
Registered: 2010-11-05
Posts: 26

Teamspeak3: MySQLSocket Error

Hey there, so after getting a compiled libmysqlclient.so.15 (Teamspeak requires that one, I have libmysqlclient.so.18.0.0 installed and just used wget to get the oudated one and copied it to /usr/lib) i ran into another problem. When i try to fire up my TS3 Server I get the following error in the log:

ERROR   |DatabaseQuery |   | mysql_real_connect() failed with error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

Now usually I'd assume that means that mysql is not running/listening but it is as the Webserver has no problem using the mysqld as my websites work flawlessly.

What else could be the problem ? Both the Webserver and Teamspeak-Server are on the same machine asthe mysqld and try to connect to the mysqld through localhost.

Last edited by Votan (2011-03-25 13:15:26)

Offline

#2 2011-03-26 01:26:29

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: Teamspeak3: MySQLSocket Error

TS3 needs MySQL 5.0.x, you can build it using the AUR PKGBUILD at https://aur.archlinux.org/packages.php?ID=37029 , but if you want to keep MySQL 5.5.x on your system, you've to edit the PKGBUILD to solve the conflicts.

Offline

#3 2011-03-26 17:31:14

Votan
Member
Registered: 2010-11-05
Posts: 26

Re: Teamspeak3: MySQLSocket Error

Ah, so jsut getting the libmysqlclient is not enough it actually needs a complete mysql 5.0.x installation ? Now that's lame.

Offline

Board footer

Powered by FluxBB