laravel - I typed 'php artisan migrate' in cmd then it shows me error
Solution:
Did you enable php_mysqli in the php.ini file?
Look for this line in php.ini file and make sure it is uncommented.
extension=php_mysqli.so
Answer
Solution:
It is usually problem that the DB_USERNAME, DB_PASSWORD credentials are wrong.
It is also necessary to verify that the bd engine driver is activated.
Source