Can't connect to MYSQL server

General discussion about netjukebox
Locked
tms8707056
User
Posts: 2
Joined: Thu Sep 10, 2009 10:33 pm

Can't connect to MYSQL server

Post by tms8707056 »

I am new to netjukebox. I am replacing Ampache because netjukebox has a better user interface with all the features that I need. However, I am having problems getting it to work correctly. When I go to mydomain.com/netjukebox all I get is "Can't connect to MYSQL server on localhost". I know that MYSQL is running because I can open phpmyadmin and get to my databases. The configuration in php (5.3) is correct (mysqli extension is active, etc). The socket is correct in my netjukebox/include/config.inc.php file. If I change the host name of the database server in that file it is reflected in the error message. skip_networking is not enabled in my.cnf. Any other ideas of what I need to check?

BTW, I'm trying to get this running on Snow Leopard Server if it matters.

Thanks
tms8707056
User
Posts: 2
Joined: Thu Sep 10, 2009 10:33 pm

Re: Can't connect to MYSQL server

Post by tms8707056 »

Figured it out... had to remove the mysqli_socket path from the config.inc.php file.
Locked