Test is a schema not a database. Check your mysql server is running and if
the config is correct and the schema is created.
El 17/05/2013 12:19, "raj kumar Pustela" <[email protected]> escribió:
> WHEN U BAKE THE PROJECT U HAVE TO GIVEN DATABASE NAME CORRECTY.THEYN IT'S
> AUTOMATICALLY CONNECTED TO THE DATABASE.
>
> IF U HAVE PREFIX IN DATABASE THEN U CAN GIVE U LIKE ZP_ PREFIXES ALSO.
>
> <?php
> class DATABASE_CONFIG {
>
> public $default = array(
> 'datasource' => 'Database/Mysql',
> 'persistent' => false,
> 'host' => 'localhost',
> 'login' => 'root',
> 'password' => '',
> *'database' => 'test', TEST IS A DATABASE NAME*
> 'prefix' => 'zp_',
> );
> }
>
>
> On Fri, May 17, 2013 at 3:43 PM, Victor Daniel Ojeda <[email protected]>wrote:
>
>> You must create database and configure the file app/config/database.php
>> ....
>> class DATABASE_CONFIG {
>>
>> public $default = array(
>> 'datasource' => 'Database/Mysql',
>> 'persistent' => false,
>> 'host' => 'localhost',
>> 'login' => 'user',
>> 'password' => 'password',
>> 'database' => 'database_name',
>> 'prefix' => '',
>> //'encoding' => 'utf8',
>> );
>>
>> public $test = array(
>> 'datasource' => 'Database/Mysql',
>> 'persistent' => false,
>> 'host' => 'localhost',
>> 'login' => 'user',
>> 'password' => 'password',
>> 'database' => 'test_database_name',
>> 'prefix' => '',
>> //'encoding' => 'utf8',
>> );
>> }
>>
>>
>> 2013/5/16 <[email protected]>
>>
>> I am trying to install cakephp on my laptop.
>>> I received this error.
>>> My SO is a WindowsVista in 32 b.
>>> I changed this:
>>> extension=php_mssql.dll.
>>>
>>> I need your help, please. What I have to do?
>>>
>>> Thank you in advance. Gabriel
>>>
>>> --
>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>> Find us on Twitter http://twitter.com/CakePHP
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CakePHP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>> --
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.