Skip to content

XAMPP Fixer is a script created in C# which fixes the common "Error: MySQL shutdown unexpectedly." error from XAMPP.

License

Notifications You must be signed in to change notification settings

JakyeRU/XAMPPFixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

release

About XAMPP Fixer

XAMPP Fixer is a script created in C# which fixes the common "Error: MySQL shutdown unexpectedly." error from XAMPP.

What does it do?

XAMPP Fixer performs the following actions:

  • [OPTIONAL] Creates a backup of existing database files in case of failure.
    • The backup will be created at \xampp\mysql\data-backups\data-CURRENT_UNIX_TIMESTAMP
  • Renames \xampp\mysql\data to \xampp\mysql\data-temp.
  • Copies \xampp\mysql\backup to \xampp\mysql\data.
  • Moves required database files from \xampp\mysql\data-temp back to \xampp\mysql\data, excluding a few files, such as mysql, performance_schema, phpmyadmin, and test.
  • Deletes the temporary directory \xampp\mysql\data-temp

Why not do this manually?

I've done this manually each time XAMPP broke, but after some time it gets repetitive, so I've created this script.

About

XAMPP Fixer is a script created in C# which fixes the common "Error: MySQL shutdown unexpectedly." error from XAMPP.

Topics

Resources

License

Stars

Watchers

Forks

Languages