danke schonmal fuer die guten Hinweise.
Folgendes passiert:
mysqladmin -u root password geheim
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
dasselbe nochmal nach mysqld-start mit option --skip-grant-tables
mysqladmin:
You cannot use 'password' command as mysqld runs
with grant tables disabled (was started with --skip-grant-tables).
Use: "mysqladmin flush-privileges password '*'" instead
# mysqladmin flush-privileges password 'geheim'
mysqladmin: unable to change password; error: 'Can't find any matching row in the user table'
mysql mysql
mysql> select user,password,host from user;
So könntest du sehen, ob für root schon ein Paßwort gesetzt ist (und von welchen
Hosts der Zugriff möglich ist).#
mysql> select user,password,host from user;
+------------+-------------------------------------------+------+
| user | password | host |
+------------+-------------------------------------------+------+
| slimserver | *03D79BE95A6C18E1D555DCAF3FBF10DACDC814ED | % |
+------------+-------------------------------------------+------+
1 row in set (0.00 sec)
Heisst das jetzt, das ich noch einen User root anlegen muss?
# mysqladmin -u slimserver password music
bringt leider wieder eine Fehlermeldung 🙁
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'slimserver'@'localhost' (using password: NO)'