Hi,
I have the next error:
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'
I was looking for in php bug tracker the error, and they say that it was solved.
I have installing the port php 5.3.1RC4 devel whit mysqlnd in Snow Leopard
The portion of my code that fails:
$manager = Doctrine_Manager::getInstance();
$conection = $manager-> connection('mysql://'.DB_SERVER_USERNAME.':'.DB_SERVER_PASSWORD.'@'.DB_SERVER.'/'.DB_DATABASE, "base_connection");
$conection->setOption("other", array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8", PDO::ATTR_PERSISTENT => false));
Thanks