Skip to content

DBALException: The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to DriverManager::getConnection(). #2

@ghost

Description

I followed your setup guide and got this error:

DBALException: The options 'driver' or 'driverClass' are mandatory if no PDO instance is given to DriverManager::getConnection().

My config.yml doctrine section:

doctrine:
    dbal:
        driver:   pdo_mysql
        host:     %database_host%
        port:     %database_port%
        dbname:   %database_name%
        user:     %database_user%
        password: %database_password%
        charset:  UTF8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions