Skip to main content

Posts

Showing posts from April 23, 2023

XAMPP MySQL not starting on Windows

  Go to your XAMPP MySQL directory. By default, it is located under  Local Disk → XAMPP → MySQL  (e.g. if you installed it under the default C-drive, you will find the folder in  C:\xampp\mysql ). Here you will be seeing different folders — the ones that we need to use are the  data  and  backup  folders Rename the  data  folder to  data_old . Create a new folder with the name  data . This is the new folder that MySQL will use to replace the old one. Now, we need to fill this folder with certain files. Go to the  backup  folder and copy all the files inside it. Paste them into the new  data  folder. Now, we need to paste databases into our new  data  folder. In order to do so, inside the  data_old  folder, copy the  mysQL  folder, as well as all the folders under the  phpmyadmin  folder. If you have only one folder, it is totally okay, just make sure you paste it. Ther...