[Ghid]Recuperare Parola MySQL
2 participanți
[Ghid]Recuperare Parola MySQL
ti pierdut vreodata parola de la DB!Urmeaza acest ghid creat de mine si o vezi reseta!
1) Autentificare server SSH
Opriti MYSQL cu comanda :
/etc/init.d/mysql stop
3) Dacă totul merge bine, vom vedea acest şir:
Stopping MySQL database server: mysqld.
4) Porniţi MySQL server
# mysqld_safe --skip-grant-tables &
5) ca Pasul 3: Daca toate acestea vor ieşi pe OK:
[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started
6) Conectaţi-vă la client MySQL server
mysql -u root
7) Dacă totul merge bine, vom ieşi:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Stabiliţi o rădăcină nouă, cu o trecere noi:
mysql> use mysql;
mysql> update user set password=PASSWORD("DIGITA NUOVA PASS") where User='root';
mysql> flush privileges;
mysql> quit
9) Opriti MySQL server:
/etc/init.d/mysql stop
10) Dacă a ieşit bine:
Stopping MySQL database server: mysqld
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[6186]: ended
[1]+ Done mysqld_safe --skip-grant-tables
11) Start MySQL server şi testaţi-l:
# /etc/init.d/mysql start
# mysql -u root -p
12) Reporniţi serverul:
reboot now
Si daca mai este postat imi cer scuze este facut de mine 100%
1) Autentificare server SSH
Opriti MYSQL cu comanda :
/etc/init.d/mysql stop
3) Dacă totul merge bine, vom vedea acest şir:
Stopping MySQL database server: mysqld.
4) Porniţi MySQL server
# mysqld_safe --skip-grant-tables &
5) ca Pasul 3: Daca toate acestea vor ieşi pe OK:
[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started
6) Conectaţi-vă la client MySQL server
mysql -u root
7) Dacă totul merge bine, vom ieşi:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Stabiliţi o rădăcină nouă, cu o trecere noi:
mysql> use mysql;
mysql> update user set password=PASSWORD("DIGITA NUOVA PASS") where User='root';
mysql> flush privileges;
mysql> quit
9) Opriti MySQL server:
/etc/init.d/mysql stop
10) Dacă a ieşit bine:
Stopping MySQL database server: mysqld
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[6186]: ended
[1]+ Done mysqld_safe --skip-grant-tables
11) Start MySQL server şi testaţi-l:
# /etc/init.d/mysql start
# mysql -u root -p
12) Reporniţi serverul:
reboot now
Si daca mai este postat imi cer scuze este facut de mine 100%
quit- Level 6
- Mesaje : 151
Data de inscriere : 10/09/2010
Localizare : Pe Marte
Joburi/Distractii : || || || || ||Metin2|| || || || ||
Stare de spirit : Asa Si Asa
Re: [Ghid]Recuperare Parola MySQL
nu prea imi plak kestiile astea cu MYSQ
thekill92- Super-Moderator
- Mesaje : 1035
Data de inscriere : 06/08/2010
Localizare : la pc.......
Joburi/Distractii : fifa; sims; metin; fotbal; tennis
Stare de spirit : SUUUUPER BUNA CHIAR FFOARTE VOI?
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum
|
|