how to fix mysql stop unexpectedly

Solutions on MaxInterview for how to fix mysql stop unexpectedly by the best coders in the world

showing results for - "how to fix mysql stop unexpectedly"
Margot
30 Nov 2019
1How to fix MySQL shutdown unexpectedly
2Note: If you don’t do following very carefully there are chances you can lose your databases. So be very careful to follow point 1.
3
41. Rename the folder xampp/mysql/data to xamppmysql/data_bk
52. Create a new folder xampp/mysql/data
63. Copy the content that resides in xampp/mysql/backup to the new mysql/data folder
74. Copy all your database folders that are in xamppmysql/data_bk to xampp/mysql/data
8   Important: Do not copy the mysql, performance_schema, and phpmyadmin folders from xampp/mysql/data_bk
95. Finally copy the ibdata1 file from xampp/mysql/data_bk and replace it inside xampp/mysql/data folder
10Start MySQL from XAMPP control panel