Answer by Aravind for Deleted /etc/mysql directory, can't run mysql
If no backup, too narrow chance to recover. Directory "/etc/mysql " have configuration files.Most important file is debian.cnf. Because it have system generated password. Try to recover with scalpel....
View ArticleAnswer by Rinzwind for Deleted /etc/mysql directory, can't run mysql
Restore a backup. That is not just the directory that holds your MySQL config but also certificates and the root password for recovery. Nobody is going to able to provide those for you except you.
View ArticleAnswer by Jos for Deleted /etc/mysql directory, can't run mysql
You could probably just do sudo apt install --reinstall mysql-common If that doesn't work, download mysql-common.deb from here, choose the right version, open it with Archive Manager, and extract the...
View ArticleDeleted /etc/mysql directory, can't run mysql
I have deleted /etc/mysql directory accidentally and now I can't run mysql command. Is there any way I can recover it? Now, I am getting this error on running sudo /etc/init.d/mysql start...
View Article