Skip to content

Unsupported Driver [mongodb] when updating to v2 #280

@chrissm79

Description

@chrissm79

Just updated to v2 (nice new features btw!). I was able to run db:seed without a problem. However, when I attempted to load the site I'm getting a

InvalidArgumentException 
Unsupported driver [mongodb]

Do I need to make a change somewhere else when updating?

<?php
// app/config/database.php
return [
    ...
    'default' => 'mongodb',

    'connections' => [

        'mongodb' => [
            'driver'   => 'mongodb',
            'host'     => 'localhost',
            'port'     => 27017,
            'database' => 'laravel_nuwavefit',
            'username' => '',
            'password' => ''
        ],
    ],
    ...
]

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