This question has been asked verbatim about a dozen times on this forum, and yet none of the solutions have worked for me.
I'm trying to install mysql and everytime I try to install I get this message shortly, after being asked to provide a password for mysql root, while setting up mysql-server-5.5:
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ... \start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.5 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried purging with apt-get and aptitude, I've autoremoved and autocleaned, I've deleted mysqld (which in retrospect seems to have made the problem worse, but I can't re-install it either), and every mysql folder I can find. I've killed all the processes related to mysql, and I've tried to install v5.6 from the .deb, and every other solution to the problem I've found posted.
No matter how thoroughly I purge whatever remnants there are of mysql on my system I can't get a fresh install to work.
More fun, I tried to install MariaDB as nothing I was doing seemed to work for MySQL. This also seems to have made the problem worse as it keeps on installing MariaDB related packages whenever I try to install mysql-server-5.5, mysql-server, or any other variation of mysql related commands.
I've been trying to get this running for a solid 7 hours now, and I cannot figure out why it won't install.
I'm on Mint 14, and at this point I'm ready to do a complete fresh install if it will just make mysql start working.
sudo apt-get remove --purge mariadb\*
removes several packages after attempting to install mysql-server or -5.5, does not fix the problem.
sudo apt-get remove --purge mysql\*
Also does not fix the problem. I deleted /etc/mysql as well. Nothing.
I get different errors depending no whether I provide a password or not, and now it has stopped making it to that step altogether.