Mailing Lists: Apple Mailing Lists

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

Re: mySQL connection




On Nov 22, 2007, at 5:42 PM, Livio Isaia wrote:

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?

Hello,

There is an explanation on Mark's page, under the FAQ. There are also several Apple tech docs about. There are also a million list messages in the archive about it.

http://www.entropy.ch/phpbb2/viewtopic.php?p=9499#9499

hth,

Jaime
_______________________________________________
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
References: 
 >mySQL connection (From: Livio Isaia <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.