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
The alternate solution is to connect, but surround this by a try-catch (PDOException, DriverException, Exception?) and return null. in case we have some situation where the database isn't created or the connection information is wrong.
I know this issue is causing a lot of problems around my world (I ran into myself yesterday), so thanks in advance for the attention.
Thanks!
The text was updated successfully, but these errors were encountered:
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of weaverryan:
Url: #783
Message:
Hi guys!
This is a fix for http://www.doctrine-project.org/jira/browse/[DBAL-1057](http://www.doctrine-project.org/jira/browse/DBAL-1057). It leaves the ability to set the platform and platform version from sha: 3176f51, but does not try to connect if we're not already connected. This is consistent with the previous behavior (again see the linked sha) - before there was never a connection made to determine the platform.
The alternate solution is to connect, but surround this by a try-catch (
PDOException
,DriverException
,Exception
?) and returnnull
. in case we have some situation where the database isn't created or the connection information is wrong.I know this issue is causing a lot of problems around my world (I ran into myself yesterday), so thanks in advance for the attention.
Thanks!
The text was updated successfully, but these errors were encountered: