HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [GHID] Recuperare parola MySQL

View previous topic View next topic Go down 
AuthorMessage
Wolf
Admin
Admin
avatar

Posts : 85
Points : 253
Join date : 2010-09-09
Age : 25
Location : Romania/Constanta

PostSubject: [GHID] Recuperare parola MySQL   Thu Sep 09, 2010 4:17 pm

Ati pierdut vreodata parola de la DB!Urmeaza acest ghid creat de mine si o vezi reseta!
1) Autentificare server SSH
Opriti MYSQL cu comanda :

Spoiler:
/etc/init.d/mysql stop


3) Dacă totul merge bine, vom vedea acest şir:

Spoiler:
Stopping MySQL database server: mysqld.


4) Porniţi MySQL server

Spoiler:
# mysqld_safe --skip-grant-tables &


5) ca Pasul 3: Daca toate acestea vor ieşi pe OK:

Spoiler:
[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started


6) Conectaţi-vă la client MySQL server

Spoiler:
mysql -u root


7) Dacă totul merge bine, vom ieşi:

Spoiler:
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>


Cool Stabiliţi o rădăcină nouă, cu o trecere noi:

Spoiler:
mysql> use mysql;
mysql> update user set password=PASSWORD("DIGITA NUOVA PASS") where User='root';
mysql> flush privileges;
mysql> quit


9) Opriti MySQL server:

Spoiler:
/etc/init.d/mysql stop


10) Dacă a ieşit bine:

Spoiler:
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:

Spoiler:
# /etc/init.d/mysql start
# mysql -u root -p


12) Reporniţi serverul:

Spoiler:
reboot now
Back to top Go down
View user profile http://4metin.niceboards.net
 
[GHID] Recuperare parola MySQL
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
4metin :: Metin2 :: Tutoriale-
Jump to: