MySQL ConnectionString?

I try MySQL for testdrive demo, but failed, here's my sample connectionString code:



'db'=>array('connectioonString'=>"'mysql:host=localhost;dbname=testdrive" Username="root" Password="1234"'


error message arise "could not find driver" but just work fine when I try using Prado-cli.php shell . and they can create class from table User at testdrive database, any clue? Thanks a lot.

Quote

I try MySQL for testdrive demo, but failed, here's my sample connectionString code:


'db'=>array('connectioonString'=>"'mysql:host=localhost;dbname=testdrive" Username="root" Password="1234"'


error message arise "could not find driver" but just work fine when I try using Prado-cli.php shell . and they can create class from table User at testdrive database, any clue? Thanks a lot.

single ‘o’ not double ‘oo’ on “connectionString” word  I just typed to fast in actually just one ‘o’ in my code. Thanks :D

It should be:



'db'=>array(


   'connectionString'=>'mysql:host=localhost;dbname=testdrive',


   'username'=>'root',


   'password'=>'1234',


)


Quote

It should be:


'db'=>array(


   'connectionString'=>'mysql:host=localhost;dbname=testdrive',


   'username'=>'root',


   'password'=>'1234',


)


Great, Thanks!