Ok, hai să facem asta în cel mai potrivit mod:
-în primul rând: deschideți o nouă sesiune în consola dumneavoastră (chit) și scrieți această comandă
killall mysqld
pentru a distruge toate procesele mysql care rulează,
-a doua: porniți serverul mysql
/usr/local/etc/rc.d/mysql-server start
apoi opreste-l
/usr/local/etc/rc.d/mysql-server stop
pentru a asculta următoarele comenzi,
-tastati:după oprirea serverului mysql, scrieți această comandă:
mysqld_safe --skip-grant-tables &
și accesați sesiunea dvs. navicat. Ar trebui să vă puteți autentifica. Accesați baza de date mysql/tabelul de utilizatori și asigurați-vă că aveți următorul set de acces și utilizator: Parola nu este atât de importantă în acest moment, dar o puteți introduce dacă doriți.
-Reveniți la chitul dvs. și scrieți următoarele comenzi:
mysql -u root
use mysql;
update user set password=PASSWORD('magichost') where User='root';
Acolo unde scrie magichost, scrie-ți parola dvs.
flush privileges;
quit
- Acum scrieți următoarele comenzi:
mysql -u root -p
Ar trebui să vi se solicite parola, așa că scrieți-vă parola acolo, apoi scrieți
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
flush privileges;
quit
Acum accesați clientul ftp (WinSCP/FileZilla) și localizați toate fișierele CONFIG, în cores/channels și, de asemenea, conf.txt din DB (s-ar putea să nu aveți aceleași nume de director, așa că urmăriți-l) și schimbați utilizatorul cu rădăcină și parola cu parola dvs., apoi salvați toate fișierele și porniți serverul.