I have been away from cakePHP for a while (all web dev acutally ;-/ Everything was working wonderfully before, never had a problem with bake(ing). I am using PHP 5.0, Mysql 5.0, and cakePHP 1.2.5 on an apache localhost server that I configured myself (NO MAMP, WAMP or X.....)
I decided to try using Tree behavior instead of HABTM relationships on two of my model relations and so I modified the Model classes and deleted the HABTM fields in my database along with adding the appropriate Tree fields in my applicable tables (i.e. parent_id, lft, rght) Everything was going good, but upon trying to (re)bake a model class I am receiving mysql_connect errors and "database contains no tables" error. I may have upgraded to 1.2.5 since I baked last, can't remember. I have searched high and low on the group but can't figure it out. Hoping someone can set me straight. Warning: mysql_select_db(): supplied argument is not a valid MySQL- Link resource in /Applications/MAMP/htdocs/webroot/cake/libs/model/ datasources/dbo/dbo_mysql.php on line 375 Error: Your database does not have any tables. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
