I'm still learning CakePHP and when I try to bake a controller and anything it gives me the error below. I am using MAMP on OS X and MySQL is connected by localhost. Cake does connect to the database when I use the scaffold and displays the data entries.
Also I enabled/uncommented "extension=mysql.so" in php.ini and restarted the services in MAMP. I'm kind of stuck here, so any help is much appreciated. Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) in /Applications/MAMP/htdocs/Blog/ cake/libs/model/datasources/dbo/dbo_mysql.php on line 117 Warning: mysql_select_db(): supplied argument is not a valid MySQL- Link resource in /Applications/MAMP/htdocs/Blog/cake/libs/model/ datasources/dbo/dbo_mysql.php on line 122 Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /Applications/MAMP/htdocs/Blog/cake/libs/model/ datasources/dbo/dbo_mysql.php on line 130 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /Applications/MAMP/htdocs/Blog/cake/libs/model/datasources/ dbo/dbo_mysql.php on line 152 Error: Your database does not have any tables. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---