Som zabudol heslo od mysql užívateľa (root) da sa nejako zistiť alebo v nejakom súbore prepísať na nove??
Je to popsano v prirucce k MySQL nebo napr. zde:
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
A kde lebo to nemôžem najsť proím najdeš mi to?
Alternatively, on any platform, you can set the new password using the mysql client(but this approach is less secure):
Stop mysqld and restart it with the --skip-grant-tables --user=root options (Windows users omit the --user=root portion).
Connect to the mysqld server with this command:
shell> mysql -u root
Issue the following statements in the mysql client:
mysql> UPDATE mysql.user SET Password=PASSWORD('newpwd')
-> WHERE User='root';
mysql> FLUSH PRIVILEGES;
Replace “newpwd” with the actual root password that you want to use.
You should be able to connect using the new password.
dajako to nefunguje pri druhom kroku ked sa napajam na mysql mi stal vypisuje toto:
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
co s tym??? proradte prosim
A prvni krok dopadl spravne a bez chyb?