MySql User anlegen
Posted: 2005-05-07 00:33
Hallo,
ich hab bzw. versuche einen Mysql server auf meinen root zu installieren
allerdings bekomm ich immer folgenden error beim anlegen des root users
debian:/# mysqladmin localhost -u root password "mynewpassword"
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
die datei my.cnf hab ich erstellt die liegt in /etc/mysql mit folgendem Inhalt:
-------------------------------
[mysql]
user = root
password = <secret>
[mysqladmin]
user = root
password = <secret>
--------------------------------
Wenn ich dann den Befehl
mysqladmin localhost -u root password "mynewpassword"
ausführe bekomme ich das hier:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
Weiß jemand Rat?
ich hab bzw. versuche einen Mysql server auf meinen root zu installieren
allerdings bekomm ich immer folgenden error beim anlegen des root users
debian:/# mysqladmin localhost -u root password "mynewpassword"
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
die datei my.cnf hab ich erstellt die liegt in /etc/mysql mit folgendem Inhalt:
-------------------------------
[mysql]
user = root
password = <secret>
[mysqladmin]
user = root
password = <secret>
--------------------------------
Wenn ich dann den Befehl
mysqladmin localhost -u root password "mynewpassword"
ausführe bekomme ich das hier:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
Weiß jemand Rat?