I am trying to connect to my MySQL database on Chopin. I get the following error message:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in [script location] on line 24
The settings I am using are:
default socket: /tmp/mysql.sock
host: localhost
I have deleted and re-added the database user with maximum privileges.
Is there something wrong with Chopin right now? I've made no changes to my script since everything was working, so I doubt it's that. The above settings are working fine for a friend with an account on Starka.
I'd be grateful for any help.


LinkBack URL
About LinkBacks

