homer65 schrieb:Also noch mal klar und deutlich: Das Password des Linux User root ist nicht das Passwort des MySQL Users root. Guck dir doch mal diesen Thread an:
http://www.linux-club.de/viewtopic.php?f=22&t=46637
er hat jetzt mit dem befehl ein neues pasword erzeugt:
Code:
mysql> UPDATE user set password=PASSWORD
linux-5exa:/usr/share/mysql #
hab natürlich ein anderes pasword dafür benutz.
hab jetzt erneut den befehl wie am anfang benutzt:
kam das raus:
Code:
linux-5exa:/usr/share/mysql # zm_database_init
INFO: when db is correctly installed and you just reinstalled rpm, then answer all questions with 'n'
no lockfile found, proceed anyway? [y/N]: y
new install create db
run mysql command to create db as user root? [Y/n]: y
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
SQL ERROR: exiting
linux-5exa:/usr/share/mysql #
selbe fehlermeldung
Code:
mysql -u root