how does the multi-master Problem happen ?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

how does the multi-master Problem happen ?

Postby amiens80 » 14. November 2023 11:12

hi,

i saw in many topics about sudden shutdown mysql, that multi-master Problem is possible the problem.

Altrea wrote:
Thanks for providing detailed debug information.
I call this the multi-master error. Your MariaDB thinks it is running in master replicant setting.

Please try the following fix. It already helped lots of users solving the multi-master Problem:

  • Open your folder "\xampp\mysql\data"
  • Delete the file "multi-master.info"
  • Delete all files beginning with "master-"
  • Delete all files beginning with "mysql_relay-bin-"
  • Delete all files beginning with "relay-log-"

Now try to start mariadb the normal way again.

best wishes,
Altrea


does anybody have a clue how or why it happens ?
In my case, i did 2 bad things (i think) :
- forgot to stop mysql process , then stop apache before switch off my computer
- open phpmyadmin on the same database in two different browsers (i need that to work on many query and phpmysql only have one tab !, so i open twice the localhost/phpmyadmin)

was one of my behavior the cause of the multi-master Problem ?


Best regards
amiens80
 
Posts: 8
Joined: 02. December 2021 10:22
XAMPP version: 3.2.4
Operating System: win10 x64

Re: how does the multi-master Problem happen ?

Postby Altrea » 14. November 2023 12:07

Hi,

The true problem is unclear. There are three different problems that all seems to be related with the unclean MariaDB shutdown XAMPP uses.
These Problems doesn't seem to happen if MariaDB is started and stopped by a windows service.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: how does the multi-master Problem happen ?

Postby amiens80 » 27. February 2024 09:23

hi,


the problem appears again, i still do not know why.
but this time, i'm sure i correctly close/stop mysql server by the xamp button before switch down my computer.
amiens80
 
Posts: 8
Joined: 02. December 2021 10:22
XAMPP version: 3.2.4
Operating System: win10 x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 361 guests