Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jakyeru/xamppfixer

XAMPP Fixer is a script created in C# which fixes the common "Error: MySQL shutdown unexpectedly." error from XAMPP.
https://github.com/jakyeru/xamppfixer

csharp xampp xampp-control-panel xampp-server

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        






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.