Root-PW neu setzten: Versuch gescheitert!
Posted: 2006-07-30 19:57
Mithilfe eines PHP- und MySQL-Lehrbuchs habe ich versucht, mein root-PW wieder herzustellen. Folgende Schritte ging ich durch:
Weitere Schritte laut Buch wären folgende gewesen:
Aber bis hierhin kam ich schon garnicht mehr...
mysql läuft mittlerweile wieder normal. Kann mir jemand noch eine andere Methode zur Wiederherstellung des root-PW nennen?
Was noch wichtig ist: Ich habe die normale LAMP-Konstellation auf meinem Server, ABER mit Confixx vorinstalliert. Ein Angebot von Alturo.de
Viele Grüße
Jonas
Code: Select all
# kill 1345
# mysqld --skip-grant-tables
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
060730 18:02:50 Aborting
060730 18:02:50 mysqld: Shutdown Complete
#
Code: Select all
mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD("neues_Passwort")
-> WHERE USer="root";
mysql läuft mittlerweile wieder normal. Kann mir jemand noch eine andere Methode zur Wiederherstellung des root-PW nennen?
Was noch wichtig ist: Ich habe die normale LAMP-Konstellation auf meinem Server, ABER mit Confixx vorinstalliert. Ein Angebot von Alturo.de
Viele Grüße
Jonas