is sure that the service of mysql this getting up, because seems to be a problem of connection with the mysql server.

in linux is:
/etc/init.d/mysql start

or verify if the proccess is running:
ps aux | grep mysql

mysql     5815  0.9  6.9 127008 17712 pts/0    Sl   22:50   0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock




2006/6/28, Jim Plush <[EMAIL PROTECTED]>:

I tried to post on an older topic but google doesn't you do anything
over 30 days. Anyway, I know this will be of use to someone sometime
when trying to use bake.php on OSX. If you get the error:
"Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock' (2) in

open up a terminal and make a soft link from tmp to var/mysql like
below, it should now work just fine


$ sudo mkdir /var/mysql
$ sudo ln -s /tmp/mysql.sock /var/mysql/



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to