I have made a database named Program then I have change my config\main like this
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=program',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
),
but when I start the model Generator it’s give me “A valid database connection is required to run this generator”
What’s happend ? Help Please…