Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate problem #125

Open
eugene-zheng0208 opened this issue Sep 1, 2017 · 1 comment
Open

migrate problem #125

eugene-zheng0208 opened this issue Sep 1, 2017 · 1 comment

Comments

@eugene-zheng0208
Copy link

I executed php artisan migrate ,
then got following errors.

[Illuminate\Database\QueryException]
could not find driver (SQL: select * from information_schema.tables where t
able_schema = spa and table_name = migrations)

[PDOException]
could not find driver

@flyingluscas
Copy link
Collaborator

Hi @eugene-zheng0208, I think you don't have the pdo_mysql module installed, run php -m and check if it shows up, if not, try to install it by running something like sudo apt-get install php7.1-mysql (change the 7.1 to the PHP version you're using), let me know if it works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants