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

手动安装时候, 运行php artisan migrate:install 报错 #192

Open
kcx064 opened this issue Nov 27, 2021 · 0 comments
Open

手动安装时候, 运行php artisan migrate:install 报错 #192

kcx064 opened this issue Nov 27, 2021 · 0 comments

Comments

@kcx064
Copy link

kcx064 commented Nov 27, 2021

手动安装时候, 运行php artisan migrate:install 报错, 如下:

In Connection.php line 664:

could not find driver (SQL: create table migrations (id int unsigned not null auto_increment primary key,
migration varchar(191) not null, batch int not null) default character set utf8mb4 collate 'utf8mb4_unicod
e_ci')

In Exception.php line 18:

could not find driver

In PDOConnection.php line 40:

could not find driver

env.ini文件mySQL部分为
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=wizard
DB_USERNAME=wizard
DB_PASSWORD=wizard

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

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

1 participant