Archive for July, 2008

Bake Script Problems in cakephp 1.2

Monday, July 21st, 2008

Everyone who has a Mac knows that the bakescript and the required database connection doesn’t work after installation. Let me show you how it works:
First open the commandline and go to:
cd /htdocs/project/cake/console/
Then start the bake script with:
./cake bake
you’ll probably get the following msg’s:

Warning: mysql_pconnect(): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) in […]