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
Tried reinstalling 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