MySQL Problem

liunx

Guest
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

this is the error message I get. funny, because it used to work for a while... what to do?

<!-- m --><a class="postlink" href="http://members.lycos.nl/skralanlamon/nieuws.php">http://members.lycos.nl/skralanlamon/nieuws.php</a><!-- m -->
=>if you want to see it for yourself.that means that Tripod needs to restart mysql. it has failedTry changing the db connection string in your php script from localhost to 127.0.0.1.

Examplemysql_connect('127.0.0.1', 'user', 'pass', 'dbname');Let me know if that works...I have a theory :)
 
Top