PHP,Xampp,Laravel

wbgh16ku  于 12个月前  发布在  PHP
关注(0)|答案(1)|浏览(139)

Illuminate\Database\QueryException
无法找到驱动程序(连接:mysql,SQL:select table_name as name,(data_length + index_length)as size,table_comment as comment,engine as engine,table_collation as collation from information_schema.tables where table_schema = 'pizzahouse' and table_type = 'BASE TABLE' order by table_name)
在vendor\laravel\framework\src\Illuminate\Database\Connection.php:822 818 $this->getName(),$query,$this-> ReBindings($bindings),$e 819); 820} 821 822 throw new QueryException(823 $this->getName(),$query,$this-> ReBindings($bindings),$e 824); 825} 826}
1 vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:65 PDOException::(“could not find driver”)
2 vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:65 PDO::__construct()
尝试从Laravel迁移到XAMPP MySQL服务器

0s7z1bwu

0s7z1bwu1#

请检查php pdo和mysql扩展是否已安装/激活
请检查this answer

相关问题