Cake needs to be able to connect to your database as a user the
database trusts. Did you set the username & password in database.php?
Note that you don't have to use *your* username and password. You can
create application-specific users for that.

On Thu, Feb 19, 2009 at 6:01 PM, psiborg <[email protected]> wrote:
>
> I've been following the instructions in the Blog tutorial, and did
> alright...up to the point where I'm creating the database and getting
> Cake to connect to it.
>
> Is there a special place that Cake expects the database to be found?
> I'm using XAMPP on a Win XP machine, and CakePHP 1.2.1.8004.
>
> The tutorial doesn't specify a database creation method, so I used
> phpMyAdmin to create the database and add the posts from the tutorial.
>
> Then, I modified the database.php file, per page 10.1.3, and called up
> the localhost. Cake tells me that the tmp directory is writable, the
> FileEngine is being used for caching, and that my database
> configuration file is present. However, it also tells me that it is
> NOT able to connect to the database.
>
> Obviously, I'm a n00b to all of this (the last thing I had to do with
> a database was creating one using MS Access). I'm trying to learn
> enough to be able to help someone with his business, and maybe be able
> to get a job...
>
> >
>

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