PROBLEM
Your mysql don't work saying smth like:you have to start mysqld with --tc-heuristic-recover switch to commit or rollback pending transactionor
No connection could be made because the target machine actively refused it.
You have probably shutdown pc when there were some mysql transactions or whatever it was doing.
SOLUTION
Go to mysql bin folder open cmd and type:
mysqld --tc-heuristic-recover=ROLLBACK
Don't forget to restart mysql after this command finished
Good blog, even thought this post is from two years ago it's still valid. I just had this problem using Percona 5.7
ReplyDeleteThanks, it's worked.
ReplyDelete