1. Make sure you are working in /app/config/database.php and NOT in
/app/config/database.php.default
2. Make sure mysql is on (try to access it using phpmyadmin for example)
3. Make sure you already created a database called 'cakeblog_dtd'
4. Double check your username and password.
Are you sure it's User and not user? Maybe it's root?
Are you sure this is your password ? Maybe there is no password
then you should leave it blank?
Teddy
On Tue, Sep 6, 2011 at 6:48 PM, Jeremy Williams <[email protected]> wrote:
> 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.
>
> Cake is NOT able to connect to the database.
>
> I am going through the blog tut on: http://book.cakephp.org/view/1528/Blog
> and for some reason the database isn't connecting. From what i can
> tell there is a problem connecting over the local host server. I am
> using wamp for my web server but only connecting over localhost. And
> suggestions?
>
> class DATABASE_CONFIG {
>
> var $default = array(
> 'driver' => 'mysql',
> 'persistent' => 'false',
> 'host' => 'localhost',
> 'port' => '',
> 'login' => 'User',
> 'password' => 'SuperSecretPass',
> 'database' => 'cakeblog_dtd',
> );
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php