Php artisan migrate command

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Php artisan migrate command



I tried to run php artisan migrate but I'm getting an error:


php artisan migrate



In Connection.php line 664: could not find driver (SQL: select * from
information_schema.tables where table_schema = homestead and
table_name = migration) In Connector.php line 67: could not find
driver.





Would you please share with us your .env file configurations so we can check whether it has anything to do with it?(Which is possibly the reason of why you are getting this error)
– Andrew Naguib
Dec 26 '17 at 22:58





DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=okeada DB_USERNAME=root DB_PASSWORD=null. That's database credentials on my .env file
– Wadar
Dec 26 '17 at 23:05







Which PHP version do you use?
– Andrew Naguib
Dec 26 '17 at 23:11





I'm using PHP 7.2.0
– Wadar
Dec 26 '17 at 23:13





Are you sure that there is no conflict between the PHP that is used by Apache and the PHP that is linked to the command line?
– Andrew Naguib
Dec 26 '17 at 23:16




1 Answer
1



you should run this command , that's because cache


composer dumpautoload






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

How to scale/resize CVPixelBufferRef in objective C, iOS