首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >xampp mysql无法初始化多主结构

问xampp mysql无法初始化多主结构
EN

Stack Overflow用户
提问于 2020-01-05 21:47:59
回答 6查看 6.6K关注 0票数 9

我在windows上安装了xampp,它起作用了。

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

代码语言:javascript
复制
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有什么问题?

EN

回答 6

Stack Overflow用户

发布于 2020-05-22 18:36:01

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

​

​

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

​

​

希望这能有所帮助。干杯!

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

票数 30
EN

Stack Overflow用户

发布于 2020-07-18 00:17:29

我也有同样的问题,只需删除multi-mysql.info和它在出错后创建的所有垃圾文件,然后重新启动mysql即可。

这对我很管用。

票数 9
EN

Stack Overflow用户

发布于 2020-10-16 22:30:37

我也有同样的问题,只是删除了multi-me.info,然后它就对我起作用了。

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59600540

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档