MySQL Forums
Forum List  »  Install & Repo

Re: Leopard Install... Can connect but not through PHP.
Posted by: Ryan Cannon
Date: November 11, 2007 01:49AM

My MySQL is running through /tmp/mysql.sock, not /private/tmp/mysql.sock,

You can check which socket you're running no in the mysql terminal by doing

/usr/local/mysql/bin/mysql -u root
status

It will output information about where your server is running, including the socket location. My PHP install could not connect to MySQL either, and I followed your instructions to get me to php.ini. The only reason I tracked down the actual socket is that phpMyAdmin prompts you to enter the socket explicitly.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.