Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message: When MySQL driver is not installed #366

Open
g105b opened this issue Apr 10, 2024 · 0 comments
Open

Error message: When MySQL driver is not installed #366

g105b opened this issue Apr 10, 2024 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Apr 10, 2024

I just ran into this issue: Error - Undefined constant Gt\Database\Connection\Connection::MYSQL_ATTR_INIT_COMMAND /home/g105b/Code/PhpGt/Database/src/Connection/Driver.php:49

It seems such an obscure error, but really it should say "Your PHP install does not have PDO's MySQL module installed". This should be detectable during the constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant