mysql8.0.15安装过程中卡在Initializing Database中并报错
2023-09-11 14:19:06 时间
报错信息如下:
Beginning configuration step: Initializing Database Attempting to run MySQL Server with --initialize-insecure option... Starting process for MySQL Server 8.0.15... Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1... 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 in a future release.
方案:
原因是my.ini在创建时不能编译中文然后乱码,然后读取my.ini文件时遇到乱码无法继续运行
解决办法:
将计算机名字、组名等所有中文改成纯英文
卸载之前所安装的mysql server,清理注册表,卸载mysql服务,删除data数据
重启计算机使计算机改名生效
重装mysql server
成功
.
相关文章
- SQL Server 2012 copy database without data
- CREATE DATABASE
- Logon database Tiger引起DataGuard不同步问题
- 报错信息Missing unknown database driver(MySQLdb模块)
- dpkg status database is locked by another process
- Oracle Database 12C 学习之多租户(连载四)
- cannot mount database in EXCLUSIVE mode
- PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ambari", database "ambari", SSL off
- Csharp: listview control binding database from datatable
- Oracle Database 21c 主要架构
- Graph database_neo4j 底层存储结构分析(3)
- Graph database_neo4j 底层存储结构分析(1)
- Oracle Database PSU/CPU
- How to Kill All Processes That Have Open Connection in a SQL Server Database[关闭数据库链接 最佳方法] -摘自网络
- ### Error updating database. Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 必须声明标量变量 "@P23@P24"。(sql少一个逗号)【??】