tags:

views:

98

answers:

2

I'm running mysql5 on Mac os x 10.5.8 and got this error. How do I solve this?

The DB worked fine but stopped working after system update. I think its something related to the socket file which is /tmp/mysql.sock do I need to give it special permissions and owner?

Thanks

+1  A: 

I'm getting the same problem. All of a sudden any mysql_connect or mysql_pconnect in a php script (php 5.3) gives me this error. I also have several installations of Drupal running on my OS X 10.6.3 machine. Working fine last night. Now they give me:

Site Offline. The mysql error was: Socket operation on non-socket.

Socket is still being created at /tmp/

FYI, would have put this as a comment under the question but I don't see an option to comment...

fred
A: 

The problem is solved. The problem was in my certificate Make sure you're using the correct one.

embedded