我正在尝试运行php artisan migrate命令,但没有得到。我收到这个错误

时间:2019-09-28 15:25:27

标签: php laravel

  

Illuminate \ Database \ QueryException:找不到驱动程序(SQL:从information_schema.tables中选择*,其中table_schema = sisfosekolah,table_name =迁移,而table_type ='BASE TABLE')

1 个答案:

答案 0 :(得分:0)

**In your php.ini configuration file simply uncomment the extension:**



  ;extension=php_pdo_mysql.dll

(You can find your php.ini file in the php folder where your stack server is installed.)

If you're on Windows make it: extension=php_pdo_mysql.dll

If you're on Linux make it: extension=pdo_mysql.so

And do a quick server restart.