i’ve tried to migrate after instalation yii 2.0, but result after migration like this :
exception ‘yii\db\Exception’ with message ‘could not find driver’ in [path on ampps]\vendor\yiisoft\yii2\db\Connection.php:534
on common\config\main-local.php :
<?php
return [
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;port=3306;dbname=yii2advanced',
'username' => 'test',
'password' => 'test',
'charset' => 'utf8',
],
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
// send all mails to a file by default. You have to set
// 'useFileTransport' to false and configure a transport
// for the mailer to send real emails.
'useFileTransport' => true,
],
],
];
tryin connect to gii was ok,
does anyone can help me?
thanks so much
i used AMPPS for apache and mysql server w/ windows 7 64 bit