Tuesday, September 6, 2011

New developer; Cake is NOT able to connect to the database.

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: