crud problem in unix/linux type system

followed the instructions of your tutorial about creating the first webapp, I found out there is no problem creating crud page on win platform but not on unix/linux platform . it always alerts "no primary key".
my setting inside config/main.php about db is
'db'=>array(
'username' => 'XXXX',
'password' => 'YYYYY',
'autoConnect' => true,
'persistent' => true,
'connectionString'=>'mysql:host=localhost;dbname=test;',
),
tested under XP is ok but no for both freebsd and ubuntu

exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet' in /var/www/yii/framework/db/CDbCommand.php:284