So here is my story: I've been thinking "Why am I using MySQL 5.1, if there is already 5.6 out?", therefore I wanted to install 5.6 on my debian root server(it is a playground/testserver, not a production server or so). After first fully making mysqldumps of the whole current 5.1 MySQL-server, I've unsuccessfully tried to install 5.6. After quite some rage that MySQL was running but no of my sites could connect to it(I guess the deamon didn't function or again the magic witch did some stuff), I decided to remove it but since it wasn't a debian-package, but one I installed directly from the website(tar file), I deleted folders: - /etc/mysql - /usr/share/mysql
and more, in order to get rid of it.
The problem I have now is, that I can't install anymore mysql successfully:
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
Errors were encountered while processing:
mysql-server-5.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
This code above is printed when doing "apt-get install mysql-server mysql-client" and it also asks me for a root password, which I enter but it will then print a message that it can't set the root password and that unfortunately without any exception-trace/error.
So I think I need to get somehow those /usr/share/mysql files again but any Google search points me to themes which are not related to my problems. I am thinking that in this case I have done something extremly dumb and something which happens rarely, henc the lack of information on the internet about my problem.
Any ideas what I could do? And is my assumption right, that those /usr/share/mysql message files are part of the default debian system(would be weird though)?
I really appriciate every help.
Thanks :)