我尝试做php工匠迁移和错误是
在Connection.php的第664行:
找不到驱动程序(SQL:从信息模式表中选择 *,其中表模式=库存管理,表名称=迁移)
在Connector.php的第67行:
找不到驱动程序
连接. php第664行
try {
$result = $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
-->line 664 throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
连接器. php第67行
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
--> line 67 return new PDO($dsn, $username, $password, $options);
}
1条答案
按热度按时间dohp0rv51#
检查相关问题...
Artisan migrate could not find driver