you might want to check your php info and see if mysql support was
built in. In php5 it is often not installed by default. See
http://us3.php.net/manual/en/ref.mysql.php
you can make a page in your webroot that contains <?php phpinfo() ?>
sam d
On 9/19/06, greg <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm running Windows XP, and have installed CakePHP(latest stable),
> Apache2.2, MySQL, and PHP5.
>
> In the cake\app\config\database.php file I have the following defined.
>
> var $default = array('driver' => 'mysql',
> 'connect' =>
> 'mysql_connect',
> 'host' =>
> 'localhost:3306',
> 'login' =>
> 'root',
> 'password' =>
> '',
> 'database' =>
> 'my_project',
> 'prefix' =>
> '');
>
> I get the following error when I load cake:
>
> Your database configuration file is present.
>
> Fatal error: Call to undefined function mysql_connect() in C:\Program
> Files\Apache Software
> Foundation\Apache2.2\htdocs\cake\cake\libs\model\dbo\dbo_mysql.php on
> line 101
>
> Any ideas on what is wrong?
>
> Thanks,
>
> Greg
>
>
> >
>
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---