LoginSignup
1
1

More than 1 year has passed since last update.

Laravel 「php artisan migrate」実行時にエラー「could not find driver」が発生した場合の対処法

Posted at

エラー内容

  Illuminate\Database\QueryException 

  could not find driver (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = 'BASE TABLE')

対処法

extension=pdo_mysqlがコメントアウトされていただけの問題っぽいので、コメントアウトを外します。

;extension=pdo_mysql

変更

extension=pdo_mysql

再度、実行すると正常に実行されました。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1