MySQL Server startet nicht

Apache, Lighttpd, nginx, Cherokee
Post Reply
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: MySQL Server startet nicht

Post by Joe User »

Code: Select all

[root@devnoip:~] # perror 2
No such file or directory
Wenn /var/lib/mysql der Speicherort für die Datenbanken war und nun leer ist, dann sind die Datenbanken weg. Bliebe die Frage nach dem Warum. Hast Du (oder ein Script) versehentlich zuviel gelöscht?
Poste bitte mal Deine my.cnf und den Inhalt des MySQL-Logdir (ich gehe mal von /var/log/mysql aus, bitte bei Bedarf selbst anpassen):

Code: Select all

ls -alh /var/log/mysql
Ich befürchte fast, dass Du das Backup benötigen wirst :(
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
AWOHille
Posts: 274
Joined: 2011-09-05 09:00
 

Re: MySQL Server startet nicht

Post by AWOHille »

Kopiere doch erst mal ein aktuelles Backup nach /var/lib/mysql. Dann sollte der mysql Server wieder starten. Anschließend würde ich schauen, warum das Verzeichnis geleert wurde.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: MySQL Server startet nicht

Post by Joe User »

Code: Select all

apt-get install mysql-client-5.5
apt-get install mysql-server-5.5
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: MySQL Server startet nicht

Post by Joe User »

Deine /var Partition ist voll, das könnte auch Dein MySQL-Problem erklären.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply