Execute php artisan migrate: install
报错:
SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CRE****ATE_USER' (S
QL: create table `migrations` (`id` int unsigned not null auto_increment primary key, `migration` varchar(255) not null, `batch`
int not null) default character set utf8mb4 collate utf8mb4_unicode_ci)
The solution is:
laravel54 \ config \ database.php
strict values are modified to modify the code false.
Again execution results:
[root @ the Test laravel54] # PHP Artisan the migrate: install
. Migration the Table the Created successfully
[root @ the Test laravel54] #