create a file named info.php with the following:
<?php
phpinfo();
?>

Place that in app/webroot and open it in your browser. This will show
you a bunch of configuration, extension, and environment info. Near
the top will be the switches that were used to compile PHP. You should
see --with-mysql in there somewhere (I think--I really have no idea
what this output looks like on a Windows box). Then scroll down to
make sure there's an entry for MySQL.

Also, open a terminal and try connecting to mysql using the username &
password in your database.php file.

On Fri, Feb 20, 2009 at 11:44 AM, psiborg <[email protected]> wrote:
>
> I'm using mySQL, because that's what the client is using...to my
> knowledge. I'm so new at this, I don't even know what you mean by
> running a phpinfo script...
>
> Currently, the location of my database.php file is: \xampp\htdocs\app
> \config\database.php
>
> The relevant portion of the database.php file is what I was seeing in
> the tutorial listing...:
>
> class DATABASE_CONFIG {
>
>        var $default = array(
>                'driver' => 'mysql',
>                'persistent' => false,
>                'host' => 'localhost',
>                'port' => '',
>                'login' => 'cakeBlog',
>                'password' => 'c4k3-rU13Z',
>                'database' => 'cake_blog_tutorial',
>                'schema' => '',
>                'prefix' => '',
>                'encoding' => ''
>        );
>
>        var $test = array(
>                'driver' => 'mysql',
>                'persistent' => false,
>                'host' => 'localhost',
>                'login' => 'user',
>                'password' => 'password',
>                'database' => 'test_database_name',
>                'prefix' => '',
>        );
> }
>
> Is there some other way that I'm supposed to access Cake, say "http://
> localhost/cake", because that just gets me error messages about a lack
> of controllers and the like...
>
>
> On Feb 20, 8:25 am, Stu <[email protected]> wrote:
>> hehe, takes me back to last month when i started using cake.  Pretty
>> much had all the same issues.
>
> >
>

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