Error establishing connection to database

Had an issue due to mac failure that lead to “error establishing a db connection” error message and eventually followed these directions to repair the error: Error Connecting to Database

However if I remove this line: innodb_force_recovery=3 as per the instructions it goes back to not being able to establish a db connection.

I’m worried about long term effects, both on the local site and if there is damage to the db itself.

Could there be damage here? I’m able to access everything again so just wondering.

Site is also extremely slow now locally. Not sure if it’s due to some DB issue.

Anyone? Would love to get an answer!