神武舞 2018-11-01 16:33 采纳率: 100%
浏览 10861
已结题

安装mysql 配置时报错

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

  • 写回答

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=10

    Binary 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=10

    Binary Logging.

    log-bin="zhaowd-bin"

    Error Logging.

    log-error="zhaowd.err"

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料