Database independent PDO checks #655
Labels
compatibility
Compatibility issue with other framework, features
confirmed bug
Something isn't working
Milestone
Currently there is code intended to trigger a
PDOException
on database connection failure, due to built in library throwing a useless exception that makes debugging next to impossible.However this check is specific to MySQL (and by extension MariaDB) as PDO expects different keywords for different database systems.
This check should be refactored into a class that mimics the behaviour of Laravels library, or a fix should be made to their code so that a more debugable exception is thrown. (assuming their latest version isn't above our minimum PHP requirement, it shouldn't be from memory)
The text was updated successfully, but these errors were encountered: