Skip to content

Instantly share code, notes, and snippets.

@mathiasgrimm
Created March 14, 2015 12:18
Show Gist options
  • Save mathiasgrimm/42050d9116c9e16538f6 to your computer and use it in GitHub Desktop.
Save mathiasgrimm/42050d9116c9e16538f6 to your computer and use it in GitHub Desktop.
'options' => array(
// make sure to define the same in your my.cnf to ensure that every client (heidisql, mysqlworkbench, etc...)
// will be using it
PDO::MYSQL_ATTR_INIT_COMMAND => "SET sql_mode = 'TRADITIONAL'"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment