PDO > ATTR_STRINGIFY_FETCHES & ATTR_EMULATE_PREPARES = false
parent
728d2ba379
commit
304c7c8c49
|
@ -29,6 +29,8 @@ return array(
|
||||||
'dbname' => 'monarc_common',
|
'dbname' => 'monarc_common',
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'driverOptions' => array(
|
'driverOptions' => array(
|
||||||
|
PDO::ATTR_STRINGIFY_FETCHES => false,
|
||||||
|
PDO::ATTR_EMULATE_PREPARES => false,
|
||||||
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
|
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -43,6 +45,8 @@ return array(
|
||||||
'dbname' => 'monarc_cli',
|
'dbname' => 'monarc_cli',
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'driverOptions' => array(
|
'driverOptions' => array(
|
||||||
|
PDO::ATTR_STRINGIFY_FETCHES => false,
|
||||||
|
PDO::ATTR_EMULATE_PREPARES => false,
|
||||||
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
|
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue