gpt4 book ai didi

mysql - xampp mysql 无法初始化多主结构

转载 作者:行者123 更新时间:2023-12-03 05:11:41 26 4
gpt4 key购买 nike

我在 Windows 上安装了 xampp 并且它有效。

今天,当我尝试启动 mysql 服务时,它返回此错误,并且我无法运行 mysql

2020-01-05 17:10:07 17 [Note] Master '2020-01-04 19:28:32 23 [Warning] Checking table:   '.\htmarket\users'
': Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '.\mysql-relay-bin-2020@002d01@002d04@002019@003a28@003a32@002023@0020@005bwarning@005d@0020checking@0020table@003a@0020@0020@0020@0027@002e@005chtmarket@005cusers@0027@000d.000012' position: 4
2020-01-05 17:10:07 16 [ERROR] Master '2020-01-04 19:28:32 23 [Warning] Checking table: '.\htmarket\users'
': Slave I/O: Fatal error: Invalid (empty) username when attempting to connect to the master server. Connection attempt terminated. Internal MariaDB error code: 1593
2020-01-05 17:10:07 0 [Warning] Reading of some Master_info entries failed
2020-01-05 17:10:07 16 [Note] Master '2020-01-04 19:28:32 23 [Warning] Checking table: '.\htmarket\users'
': Slave I/O thread killed while connecting to master
2020-01-05 17:10:07 0 [ERROR] Failed to initialize multi master structures
2020-01-05 17:10:07 16 [Note] Master '2020-01-04 19:28:32 23 [Warning] Checking table: '.\htmarket\users'
': Slave I/O thread exiting, read up to log 'FIRST', position 4
2020-01-05 17:10:07 0 [ERROR] Aborting

mysql出了什么问题?

最佳答案

如果有帮助,我有同样的问题,我可以通过删除数据目录中 mysql 神秘生成的所有文件来修复它:

enter image description here

只需删除所有主文件并保留数据文件夹,如下图所示:

enter image description here

希望这有帮助。干杯!

编辑-删除所有这些文件后,每次我尝试再次启动Mysql时,我都需要删除aria_log.00000001(每次启动Mysql时这个数字都会增加)。如果再次发生同样的情况,请记住这一点。

关于mysql - xampp mysql 无法初始化多主结构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59600540/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com