Prima metodă:
- Se pune în /etc/rc.conf :
- Pe urmă:
Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server restart- Apoi:
Cod: Selectaţi tot
mysql -u root mysqlCod: Selectaţi tot
UPDATE user SET Password=PASSWORD(‘Parola Noua’) WHERE USER=’root’;Cod: Selectaţi tot
FLUSH PRIVILEGES;Cod: Selectaţi tot
exit;- După se scoate din /etc/rc.conf linia:
Cod: Selectaţi tot
mysql_args=”–skip-grant-tables –skip-networking”- Şi se dă restart la mysql !
Cod: Selectaţi tot
/usr/local/etc/rc.d/mysql-server restartAcest ghid vă este oferit de Just4Metin.ro !



