To solve this problem in Mac OS X, you must create a symbolic link
from the right place to the socket.
In the terminal execute:
sudo mkdir /var/mysql
sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
2007/10/6, michaaaa <[EMAIL PROTECTED]>:
>
> I tried to set up ACL but I got the following error message (I'm on
> OSX with MAMP and PHP5):
> Warning: mysql_connect(): Can't connect to local MySQL server through
> socket '/var/mysql/mysql.sock' (2) in /Users/Micha/Sites/project/cake/
> libs/model/datasources/dbo/dbo_mysql.php on line 101
--
Antonio Cortés (Dr Zippie)
"El ordenador es la evolucion logica del hombre: Inteligencia sin
moral": John Osborne.
"A nullo videbatur, ipse autem omnia videbat"
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---