PDO > ATTR_STRINGIFY_FETCHES & ATTR_EMULATE_PREPARES = false

pull/1/head
Thomas Metois 2017-01-23 15:01:17 +01:00
parent 7057bfce15
commit be48f328d5
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,8 @@ return array(
'dbname' => 'monarc_common',
'charset' => 'utf8',
'driverOptions' => array(
PDO::ATTR_STRINGIFY_FETCHES => false,
PDO::ATTR_EMULATE_PREPARES => false,
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
),
),
@ -43,6 +45,8 @@ return array(
'dbname' => 'monarc_cli',
'charset' => 'utf8',
'driverOptions' => array(
PDO::ATTR_STRINGIFY_FETCHES => false,
PDO::ATTR_EMULATE_PREPARES => false,
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
),
),