Pongo scrie:1. Se intra in putty cu utilizatorul si cu parola de root
2. Se opreste serverul MySQL: /usr/local/etc/rc.d/mysql-server stop
3. Se porneste serverul mysql fara parola de root: mysqld_safe –skip-grant-tables &
4. Ne conectam ca root la serverul mysql: mysql -u root
5. Rulam urmatoarele comenzi, care vor reseta parola de root:
use mysql;
update user set password=PASSWORD(‘paroladorita’) where user=’root’;
flush privileges;
quit
6. Oprim serverul mysql: /usr/local/etc/rc.d/mysql-server stop
7. Il pornim normal: /usr/local/etc/rc.d/mysql-server start
De aici inainte totul ar trebui sa functioneze normal. Pentru siguranta putem testa daca parola s-a schimbat intr-adevar folosind clientul mysql: mysql -u root -p
Nu merge parola navicat cu parola setata mai sus, ce ar trebui sa fac ?
Tot in putty rulam urmatoarea comanda : grant all on *.* to root@’%’ identified by ‘paroladorita’;
Parola merge schimbata la server ma pot conecta la navicat tot...
dar cand dau drumu la server imi da err asta...
Cod: Selectaţi tot
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess ACCOUNT
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess COMMON
mysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsmysql_real_connect: Access denied for user 'root'@'localhost' (using password: YES)
failed, retrying in 5 secondsSuccess HOTBACKUP
fiti mai explicizi...