I want to learn CakePHP to add functions to our website
(northbreeze.com). My PHP/MySQL experience is limited to a site search
function I wrote some time ago. A long time interest in Smalltalk led
me to Ruby on Rails. One good look at that led me to try CakePHP.

I've just installed XAMPP on my XP box and I'm trying to connect at
http://localhost/cake/

When the MySQL service is stopped I get this message:

CakePHP Rapid Development
Your database configuration file is present.


Warning: mysql_connect() [function.mysql-connect]: Can't connect to
MySQL server on 'localhost' (10061) in C:\xampp\htdocs\cake\cake\libs
\model\dbo\dbo_mysql.php on line 100

Warning: mysql_select_db(): supplied argument is not a valid MySQL-
Link resource in C:\xampp\htdocs\cake\cake\libs\model\dbo
\dbo_mysql.php on line 105

Cake is not able to connect to the database.


---------------------------------------------------------------------------------------
When the MySQL service is running I get this message:

CakePHP Rapid Development
Your database configuration file is present.


Warning: mysql_connect() [function.mysql-connect]: Access denied for
user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\cake
\cake\libs\model\dbo\dbo_mysql.php on line 100

Warning: mysql_select_db(): supplied argument is not a valid MySQL-
Link resource in C:\xampp\htdocs\cake\cake\libs\model\dbo
\dbo_mysql.php on line 105

Cake is not able to connect to the database.


----------------------------------------------------------------------------------

I'm running the current (as of June 22/08) stable version of CakePHP
and my XAMPP setup is

Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5 + PHP 4.4.8 + PEAR
PHP-Switch win32 1.0 (please use the "php-switch.bat")
XAMPP Control Version 2.5 from www.nat32.com
XAMPP Security 1.0
SQLite 2.8.15
OpenSSL 0.9.8g
phpMyAdmin 2.11.4
ADOdb 4.96
Mercury Mail Transport System v4.52
FileZilla FTP Server 0.9.25
Webalizer 2.01-10
Zend Optimizer 3.3.0a
eAccelerator 0.9.5.2 for PHP 5.2.5  (comment out in the php.ini)

Any suggestions as to what I'm doing wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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