wizard
wizard copied to clipboard
手动安装时候, 运行php artisan migrate:install 报错
手动安装时候, 运行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