Supportnet Computer
Planet of Tech

Supportnet / Forum / PC-Sonstiges

MySQL





Frage

Hallo Leute Vielleicht kennt sich ja wer mit MySQL? Ich bin grad bei der Installation vom Server Instance Configuration Wizard 1.0.8. Ich Klicke auf Next-Standard Configuration- Makiere Install As Windows Service-Next- Makiere Modify Security Settings und geben ein neues Root passwort ein. Dann Klicke ich wieder auf Next danach steht "Please press Execute to sart the configuration ich klicke das an und steht error The Securtity Settings could not be applied Error Number 1130. Host"localhost" is not allowed to connect to this mysql Server kann mir wer helfen?

Antwort 1 von Proggi

prüfe mal ob du dich mit dem mysql-client mit Root ohne Passwort verbinden kannst.

schaue welche Benutzer existieren:
select mysql;
select user,host, password from user;

wichtig ist, das ein Benutzer mit dem Namen Root für Host localhost existiert. wenn nicht kannst du einen erstellen:

insert into user (user, host) values('root', 'localhost');
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'
FLUSH PRIVILEGES;


bei dem Befehl "GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'" bin ich mir nicht 100% sicher.

das Passwort sollte leer sein ansonsten must du dich in zukunft auch beim lokalen verbinden mit passwort anmelden.

Antwort 2 von Thero

ok danke ich prob mal aus