lundi 7 septembre 2020

Illuminate\Database\QueryException could not find driver

Illuminate\Database\Connection::runQueryCallback C:\wamp\www\LaravelProject\vendor\laravel\framework\src\Illuminate\Database\Connection.php:671

" I cannot insert values to the MySQL because of the connection failure,it's an error in Connection.php file, but my migration is success "

protected function runQueryCallback($query, $bindings, Closure $callback)

{

    try {

        $result = $callback($query, $bindings);

    }

    catch (Exception $e) {

        throw new QueryException(

            $query, $this->prepareBindings($bindings), $e

        );

    }



    return $result;

}


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire