当前位置:网站首页>Mysql8.0 configuring my SQL in INI file_ mode=NO_ AUTO_ CREATE_ User can start

Mysql8.0 configuring my SQL in INI file_ mode=NO_ AUTO_ CREATE_ User can start

2022-06-26 04:17:00 Never bow

my.ini In profile

Set up

sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
  • 1

Restart service prompt
mysql The server stops automatically . Some services will stop automatically if they are not used by other services or programs .
 Insert picture description here

reason

mysql 8.0 After that, I don't support NO_AUTO_CREATE_USER service
To set sql_mode Delete in NO_AUTO_CREATE_USER

result

Successful launch

sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  • 1

 Insert picture description here

原网站

版权声明
本文为[Never bow]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180536198815.html