You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library fails to connect into mysql database when database not created with error An exception occurred in driver: SQLSTATE[HY000] [1049] Unknown database 'test'
Source: liip/LiipFunctionalTestBundle#470
Hello,
This library fails to connect into mysql database when database not created with error
An exception occurred in driver: SQLSTATE[HY000] [1049] Unknown database 'test'
Place where error occurs:
https://github.com/liip/LiipFunctionalTestBundle/blob/2.0.0-alpha10/src/Services/DatabaseTools/ORMDatabaseTool.php#L63 or commit to be exact fails because used dbal library performs connect https://github.com/doctrine/dbal/blob/b45ed5e13e4834f64fbc56bfdc0344430cecae63/lib/Doctrine/DBAL/Connection.php#L358 into database despite
unset($params['dbname']);
in your classORMDatabaseTool
in 61 lineSteps to reproduce
and
The text was updated successfully, but these errors were encountered: