April 7, 2011

Mediatomb Mysql Socket!

I have installed mediatomb on my Linux From Scratch server. I have compiled it to use mysql not msqlite as i don't want to have multiple database servers running. My problem is that when i execute mediatomb i get this:

2011-04-07 08:43:48 ERROR: The connection to the MySQL database has failed: mysql_error (2002): "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"

My mysql socket is set to /var/lib/mysql in the config file. I have no problem connecting to this via mysql client on the system. I need to know how to configure mediatomb to use that file.
Thanks in advance! :D

Click Here!