Create Database

hi

how to create new mysql database with PDO query or other methods in Yii

Try to use migrations. It’s good practice…

http://www.yiiframework.com/doc/guide/1.1/en/database.migration