Can't get mysql started, accidentally messed up permissions?

0

I ran this command sudo find /opt/bitnami/apps/wordpress/htdocs/mydomainname.com / -type d -exec chmod 775 {} ;
(notice the accidental space after mydomainname.com)

After running this command, I could no longer ssh into the server. ('ssh_exchange_identification: read: Connection reset by peer' error)...a reboot of the instance fixed that.

I just can't get mysql to start running no matter what I try. What did that accidental space in that command do ? Did I mess up permissions somewhere in mysql that I can reset or correct? Please help, trying to recover a decent day's work on a WordPress website, thanks!

BJSaws
asked 3 years ago188 views
1 Answer
0

Wow, after hours or searching and attempting different commands to repair mysql permissions, just now found the one that worked! Here it is for anyone else:
sudo chown -R mysql:mysql /opt/bitnami/mysql/tmp

Thanks to Davidg for the answer here: https://community.bitnami.com/t/edited-permissions-incorrectly-mysql-will-not-start/66191/5

BJSaws
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions