PHP Artisan Migration-未运行

时间:2019-01-30 16:56:06

标签: php mysql laravel

当我尝试运行php artisan migrate时也会得到。 Pdo还可以php 7.1升级

  

Illuminate \ Database \ QueryException:找不到驱动程序(SQL:   从information_schema.tables中选择*,其中table_schema = laravel   和table_name =迁移)   C:\ wamp64 \ www \ laralearn \ laravel \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connection.php:664

     

异常跟踪:

     

1 PDOException::(“找不到驱动程序”)         C:\ wamp64 \ www \ lara-learn \ laravel \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php:70

     

2
  PDO :: __ construct(“ mysql:host = 127.0.0.1; port = 3306; dbname = laravel”,   “根”, ””, [])         C:\ wamp64 \ www \ lara-learn \ laravel \ vendor \ laravel \ framework \ src \ Illuminate \ Database \ Connectors \ Connector.php:70

     

请使用参数-v查看更多详细信息。

0 个答案:

没有答案