mysql8.0.15安装过程中卡在InitializingDatabase中并报错
报错信息如下:
Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --
Starting process for MySQL Server 8.
mysql下载starting the serverStarting process with command: C:\Program Files\MySQL\MySQL Server 8.0\ --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on -- mysqld: File '.\鐏扮伆鐨勭數鑴?bin.index' not found (OS errno 2 - No such file or directory)
2019-03-12T14:18:41.075877Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode ⽅案:
原因是my.ini在创建时不能编译中⽂然后乱码,然后读取my.ini⽂件时遇到乱码⽆法继续运⾏
解决办法:
将计算机名字、组名等所有中⽂改成纯英⽂
卸载之前所安装的mysql server,清理注册表,卸载mysql服务,删除data数据
重启计算机使计算机改名⽣效
重装mysql server
成功
.

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。