HI,
‘db’=>array(
'connectionString'=>'mysql:dbname=nidjapancorp_bs;hostname=mysql1103.xserver.jp;',
'username' =>'nidjapancorp_auto',
'password' =>'Pandia123',
'charset' =>'utf8',
'enableProfiling' =>true,
'schemaCacheID' =>'fcache',
'schemaCachingDuration'=>86400,
),
Got Error like this CDbConnection failed to open the DB connection…
But Normal Php Connections are working fine Why?
$conn = mysql_connect(‘mysql1103.xserver.jp’,‘nidjapancorp_auto’,‘Pandia123’);
if($conn)
{
echo "connectred";
}
$select =mysql_select_db("nidjapancorp_bs",$conn);
if($select)
{
echo "db Selected";
}
else
{
echo "Db Not seletcted";
}