mysql config missing file

Asked by João Pinto

After playing around with mysql I have deleted /etc/mysql, I have reinstalled the mysql packages however there is a file which is never reinstalled.

lamego@lamego-ubuntu:~/ircsvs/local/backup$ sudo /etc/init.d/mysql start
Starting MySQL database server: mysqld.
/etc/init.d/mysql: line 88: /etc/mysql/debian-start: No such file or directory

How can find the packake and retrieve the /etc/mysql/debian-start ?

Shouldn't the file be installed with the mysql-server or mysql-common ?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
João Pinto (joaopinto) said :

I found how to fix it, removing it with the --purge:

 sudo apt-get remove --purge mysql-server
 sudo apt-get install mysql-server

Revision history for this message
Marco Barbato (marco-betaingegneria) said :

got the same problem: synaptic has got even frozen for this. Thanks

Revision history for this message
Danny Archer (danny-archerunlimited) said :

ok so to fix
touch /etc/mysql/debian-start
chown mysql:mysql /etc/mysql/debian-start
chmod ug+x /etc/mysql/debian-start

Revision history for this message
timothywird29 (kirkfrancis37) said :

To solving such problem out you need to prof recovery software.

I would recommend you following software