I got myself into trouble with mysql on debian lenny (details).
I tried these commands:
dpkg-reconfigure mysql
dpkg --purge mysql-server
apt-get install mysql-server
mysql_install_db
and variants of these in different order using killall mysql
and killall mysqld
and had no luck whatsoever. I even deleted every mysql folder listed in whereis mysql
.
How do I properly reinstall a package? Because the above is not working for me.