I have install mysql cluster on one of our linux machines, we did a pilot and decided to use replication instead. Now I want to remove it and install mysql-server.
I have removed all the old files as much as I could, now everytime I
apt-get install mysql-server
it seems to install but puts no files in /etc
I tried to purge the install and try again a few times with no luck.
Anyone have any ideas on how to completely remove mysql and start a new?
** Update **
Tried suggested purge remove
apt-get --purge remove mysql-server && apt-get clean && apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done Package mysql-server is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up mysql-server-5.0 (5.0.67-0ubuntu6) ... * Stopping MySQL database server mysqld [ OK ] /var/lib/dpkg/info/mysql-server-5.0.postinst: line 143: /etc/mysql/conf.d/old_passwords.cnf: No such file or directory dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: mysql-server-5.0 E: Sub-process /usr/bin/dpkg returned an error code (1)