Tuesday, September 6, 2011

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

It's not the computer account's credentials.  It is mysql's username and password.
If you haven't set any, I would try this:

 var $default = array(
       'driver' => 'mysql',
       'persistent' => 'false',
       'host' => 'localhost',
       'port' => '',
       'login' => 'root',
       'password' => '',
       'database' => 'cakeblog_dtd',

Usually that's the default username and password that come with wampserver (username:root, and no password).

On Tue, Sep 6, 2011 at 8:14 PM, Jeremy Williams <copfpi@gmail.com> wrote:
everything you said was previously done, other than #4.
does the username have to be the username and pass for the computer
account i am on? how exactly do i define a username and password cuz i
just made up a random one for testing.

--
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

--
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: