Created
March 9, 2023 09:27
-
-
Save Korveld/4a58405b3861f064dace0235eb49039f to your computer and use it in GitHub Desktop.
MySQL shutdown unexpectedly in XAMPP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Rename the folder xampp/mysql/data to xampp/mysql/data_old (you can use any name) | |
| 2. Create a new folder xampp/mysql/data | |
| 3. Copy the content that resides in xampp/mysql/backup to the new xampp/mysql/data folder | |
| 4. Copy all your database folders that are in mysql/data_old to mysql/data (except mysql, performance_schema, and phpmyadmin folders from data_old) | |
| 5. Now copy the ibdata1 file from xampp/mysql/data_old and replace it inside xampp/mysql/data folder | |
| 6. You can start MySQL again from control panel now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment