Hello, i´m having a problem and i would like to know if anyone can help me.
Three days ago my site went dead. I restored a backup from the day before and i got the message "error establishing a database connection".
I tried to restore a backup from the week before, i got the same error message.
I then restored a backup from a snapshot i took
2 months ago, same message!
Isn´t that strange?
* I upgraded KVM and it´s shown as idle (don´t know if this is correct)
** I tried to do a "sudo apt-get upgrade" and i get the mysql error message bellow:
Code:
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)
*** Why my old backups don´t fix the problem? The site went down just three days ago.
**** My setup is a LAMP - Ubuntu 12.04 LTS