Hi,

[snipped]

> 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 either have a typo in database.php or the user you created doesn't
have the privilege to access the respective database.

Hope that helps!

--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
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