Beginning configuration step: Initializing Database
Deleting the data directory from a previous (failed) configuration...
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.13...
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...
2018-11-01T16:28:35.442346Z 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.
2018-11-01T16:28:35.442449Z 0 [System] [MY-013169] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.13) initializing of server in progress as process 12668
mysqld: File '.\绁炴鑸?bin.index' not found (OS errno 2 - No such file or directory)
2018-11-01T16:28:35.449875Z 0 [ERROR] [MY-013236] [Server] Newly created data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ is unusable. You can safely remove it.
2018-11-01T16:28:35.450071Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-11-01T16:28:35.450295Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.13) MySQL Community Server - GPL.
Process for mysqld, with ID 12668, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.13.
Database initialization failed.
Ended configuration step: Initializing Database
安装mysql 配置时报错
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
4条回答
- 神武舞 2018-11-02 01:46关注
找到原因了,C:\ProgramData\MySQL\MySQL Server 8.0\my.ini 关闭配置程序,把这里的乱码该掉,再重新配置就可以了
log-output=FILE
general-log=0
general_log_file="绁炴鑸?log"
slow-query-log=1
slow_query_log_file="绁炴鑸?slow.log"
long_query_time=10Binary Logging.
log-bin="绁炴鑸?bin"
Error Logging.
log-error="绁炴鑸?err"
----------------------改成如下内容---------------------------log-output=FILE
general-log=0
general_log_file="zhaowd.log"
slow-query-log=1
slow_query_log_file="zhaowd-slow.log"
long_query_time=10Binary Logging.
log-bin="zhaowd-bin"
Error Logging.
log-error="zhaowd.err"
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 4无用
悬赏问题
- ¥15 求差集那个函数有问题,有无佬可以解决
- ¥15 【提问】基于Invest的水源涵养
- ¥20 微信网友居然可以通过vx号找到我绑的手机号
- ¥15 寻一个支付宝扫码远程授权登录的软件助手app
- ¥15 解riccati方程组
- ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
- ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
- ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
- ¥50 树莓派安卓APK系统签名
- ¥65 汇编语言除法溢出问题