About the author

Photo of sanduhrs
sanduhrs

MySQL root Passwort erneuern

Um das root-Passwort einer MySQL Datenbank zu ändern reichen folgende Kommandos:

/etc/init.d/mysql stop
/usr/bin/mysqld_safe --skip-grant-tables --skip-networking &

mysql -u root
use mysql;
UPDATE user SET Password=PASSWORD("your password here") WHERE User="root";
exit

/etc/init.d/mysql stop
/etc/init.d/mysql start

Vielen Dank für die gut

Vielen Dank für die gut funktionierende Anleitung, auch wenn mein Passwort jetzt "your password here" lautet :-). Als Linux-Halblaie kam ich endlich an meine Datenbank ran.

Endlich mal eine Anleitung

Endlich mal eine Anleitung die geht :) Danke mfg Jörg

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Website powered by lovely Drupal · Microformats · XML Feed · Valid XHTML, CSS · No www.