Lots of newbies will face the problem with creating roles as i did… This might help all of them.
- There are two methods of storing in DB and in File
I cracked storing in DB using console script and will explain the same.
- modify your protected/config/console.php as
'connectionString' => 'mysql:host=localhost;dbname=dbname', 'emulatePrepare' => true, 'username' => 'root', 'password' => '', 'charset' =