I just follow the toturial

Here is the configuration in database.php,

class DATABASE_CONFIG {

        public $default = array(
                'datasource' => 'Database/Mysql',
                'persistent' => false,
                'host' => 'localhost',
        'port' => '',
                'login' => 'root',
                'password' => '123456',
                'database' => 'coupon',
                'prefix' => '',
                //'encoding' => 'utf8',
        );

But still show the message: Cake is NOT able to connect to the
database

The connection is ok if I just use php mysql_connect...

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to