Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jakyeru/xamppfixer
- Owner: JakyeRU
- License: mit
- Created: 2022-11-18T14:03:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T22:32:43.000Z (about 2 years ago)
- Last Synced: 2024-10-29T14:24:06.598Z (3 months ago)
- Topics: csharp, xampp, xampp-control-panel, xampp-server
- Language: C#
- Homepage:
- Size: 555 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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.