Skip to content

Error message: When MySQL driver is not installed #366

Description

@g105b

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNon-breaking improvements to existing behaviour

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions