Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mySQL connection



Hi everybody,

I've just started using mySQL and my attempt to connect to the server through 'mysql_connect("", "", "") fails with error "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)".
phpinfo() tells me that mySQL is enabled and its socket is '/tmp/mysql.sock'.
I installed PHP5 through Marc's Installer and everything seems to be right.
Couldn't find any useful documentation for this.


Can you help me?

Best regards,
livio.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.