- Make sure your PHP engine location path in system variable.
- Make sure you active php_pdo_mysql on php.ini
Uncomment the following to use a
MySQL database on protection/config/main.php
'db'=>array(
'connectionString' =>
'mysql:host=localhost;dbname=yiidb',
'emulatePrepare' => true,
'username' => 'root',
'password' => 'your pass',
'charset' => 'utf8',
),
If your
error in console
Uncomment the following to use a MySQL
database protection/config/console.php
'db'=>array(
'connectionString'
=> 'mysql:host=localhost;dbname=yiidb',
'emulatePrepare'
=> true,
'username' =>
'root',
'password' =>
'your pass',
'charset' =>
'utf8',
),
Have Nice Day
0 comments:
Posting Komentar