ERROR 1045: Access denied for user:

MySQL, PostgreSQL, SQLite
Post Reply
bytemare
Posts: 28
Joined: 2002-06-06 18:03
 

ERROR 1045: Access denied for user:

Post by bytemare »

hallo gemeinde,

ich habe ein problem auf meine mysql-db zuzugreifen.

ich logge mich per ssh als root auf meinen server ein und bei eingabe von

mysql

kommt folgende fehlermeldung:

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

woran kann das liegen?? welches pw hat denn root auf einem frisch installierten system???
thomi
Posts: 136
Joined: 2002-06-04 22:33
Location: Waldenbuch
 

Re: ERROR 1045: Access denied for user:

Post by thomi »

Du mußt MySQL mit
mysql -p
starten, dann wirst du zur Eingabe deines Passwortes aufgefordert und da muss du das root-Passwort eintippen.
maexle
Posts: 28
Joined: 2003-06-12 15:53
 

root-passwort???

Post by maexle »

Hi,
ich habe dasselbe Problem. Nur nimmt er mein root-Passwort nicht an. Auch ein leeres Passwort nimmt er nicht... Welche PWs kommen denn da noch in Frage? Wenn ich das root-PW ändere, wird das hier doch mitgeändert, oder?
gamecrash
Posts: 339
Joined: 2002-05-27 10:52
 

Re: ERROR 1045: Access denied for user:

Post by gamecrash »

Nein, das Passwort Deines Linux-Root-Users hat mit dem von MySQL nichts zu Tun... ich denke mal das hat Dein Anfangs-Passwort...
Post Reply