I am in the process of learning PHP and wanted to get started with a framework as well. I have several years dev experience with another web language and I just feel naked when building apps without a framework.
I was hoping that CakePHP would be easy to get running but that has not been the case. I am on a Ubuntu 8 desktop with Apache2, MySQL and PHP5 running. I was following the instructions @ http://book.cakephp.org/view/27/developing-with-cakephp. In MySQL I created a DB and a User account just for my app to use. I put this information in the /app/config/database.php file thinking the framework would use that information to connect to the DB. Here is the message I am getting. Your tmp directory is writable. The FileEngine is being used for caching. To change the config edit APP/config/core.php Your database configuration file is present. Warning (2): mysql_connect() [function.mysql-connect]: Access denied for user 'user'@'localhost' (using password: YES) [CORE/cake/libs/ model/datasources/dbo/dbo_mysql.php, line 117] Warning (2): mysql_select_db(): supplied argument is not a valid MySQL- Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 122] Warning (2): mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/ dbo_mysql.php, line 130] Cake is NOT able to connect to the database. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
