6

Repair MySQL data directory (for XAMPP)

 3 years ago
source link: https://gist.github.com/josemmo/24e35f2b4984a4370ce2c164f5956437
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

RiPPERD commented on Jun 9, 2021

edited

BRILLIANT!

stupid windows update keeps rebooting my pc and then i cannot start mysql again.

tried other fixes moving files etc and like @shakhawatfci i got corrupt databases/phpmyadmin
This tool actually fixed my phpmyadmin issue too!

I had xampp running but only http
then i made text file in mysql folder called fix.txt
copied code into it
renamed fix.ps1
right click, run in powershell
it flashed up and went
went to xampp and clicked start sql and all worked fine

went to phpmyadmin and my errors are also all gone! thank you so much!!!

EDIT: however i have lost all my users from databse - this could be my error though as i played about with files before using this


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK