Hi everyone,

I am going through David Golding's new book "Beginning CakePHP" and
have found it extremely helpful up until the Bake section.

I have built a scaffolded blog, so I know that my DB connections are
correct.  And the paths to my app are correct in Terminal.  However,
when I go to bake my controller, I receive this messages from
Terminal:


Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock' (2) in /Users/iZach/Sites/dev/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 /Users/iZach/Sites/dev/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 /Users/iZach/Sites/dev/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 /Users/iZach/Sites/dev/blog/cake/libs/model/datasources/
dbo/dbo_mysql.php on line 152
Error: Your database does not have any tables.




But my database is connected and does have tables!

I am using RC 1.2.x.x_17.08.2008




Thanks so much.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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