AllZone
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

[Ghid]Recuperare Parola MySQL

In jos

[Ghid]Recuperare Parola MySQL Empty [Ghid]Recuperare Parola MySQL

Mesaj Scris de Ady Mier Oct 06, 2010 10:08 pm

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%

Ady
Admin
Admin

Data de inscriere Data de inscriere : 02/10/2010
Varsta Varsta : 29
Localizare Localizare : Pe marte ;x
Stare de spirit Stare de spirit : Entiuziasmanta

https://allzones.forumgratuit.ro

Sus In jos

Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum