This isn't a cakePHP problem. It's a problem with your php setup.
Go ask on the php list.

But....I bet if you search real hard using this site I found recently
called "google" you'll figure out how to edit your php.ini file to
point to the right place.

On Mar 14, 6:38 pm, "peterhf" <[EMAIL PROTECTED]> wrote:
> Working through my first tutorial for using Cake PHP and got this
> error message:
>
> Warning: mysql_connect() [function.mysql-connect]: Can't connect to
> local MySQL server through socket '/var/mysql/mysql.sock' (2) in /
> Library/WebServer/Documents/cake/cake/libs/model/dbo/dbo_mysql.php on
> line 102.  Line 102 makes no mention of the mysql.sock file.
>
> The mysql.sock file is in the "/tmp" directory on my machine, which
> file do I edit to point Cake to the correct directory?
>
> Thanks in advance for any help.
>
> Peter -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to