Last active
September 4, 2015 02:07
-
-
Save gilsonDNA/e00ed9f342e0ac8f8ba5 to your computer and use it in GitHub Desktop.
doctrine_orm.local.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
'doctrine' => array( | |
'connection' => array( | |
'orm_default' => array( | |
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver', | |
'params' => array( | |
'host' => 'localhost', | |
'port' => '3306', | |
'user' => 'root', | |
'password' => 'dna123456', | |
'dbname' => 'zf2_livraria', | |
'driverOptions' => array( | |
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'UTF8' " | |
) | |
) | |
) | |
) | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment