I was trying to install mysql-server and while trying to set a password I messed up the debian.cnf file and then deleted /etc/mysql hoping that
dpkg-reconfigure would recreate it.
Now dpkg-reconfigure is giving an error regarding missing cnf files in /etc/mysql
mysql-server itself but the post-install script is giving errors.
I've also tried reinstalling
libmysqldev, libmysql20 and mysql-common. No luck.
Which package should I reinstall to create the /etc/mysql and its contents
If I remember correctly the directory contains my.cnf, debian.cnf, conf.d and a couple other files. I'm running Ubuntu 18.04
dpkg -S /etc/mysql(although this may miss files that are created on the fly by pre/post install scripts, rather than being provided by a package directly)