You are on page 1of 2

12/31/2020 [Linux] Recuperare parola MySQL :: FileList

Hello, abcd992 [VIP]


0
10,605.0 Invites 23 Profile Logout
Ratio 5.62 Tokens 17 SnatchList
Uploaded: 78.37 TB Downloaded: 13.94 TB

Home Browse Internal Hosting Upload Requests Forums Support FAQ Rules

Tutoriale
[Linux] Recuperare parola MySQL

« 1 »

#5644905 by potasiu98 [In God I trust!] at 03/03/2015 - 14:07:48 GMT (304 weeks ago)

Quote:

Introducere
Rep. Power: 15
Class: Elite
Salut tuturor! Acesta este un tutorial pentru cazul in care ati uitat parola pentru userul root de la MySQL, aceasta se poate recupera
foarte usor. (Comenzile de mai jos pentru oprire si pornire server MySQL sunt executate pe un sistem FreeBSD dar procedeul este
acelasi indiferent de sistemul pe care este instalat serverul MySQL)

Quote:

Procedura

1. Oprim serverul MySQL:

Quote:

root@bsdpc[~] # /etc/rc.d/mysql stop

2. Pornim serverul MySQL fara "grant tables":

Quote:

root@bsdpc[~] # /usr/local/mysql/bin/mysqld_safe --skip-grant-tables &

3. Accesam serverul MySQL din CLI (Command Line Interface):

Quote:

root@bsdpc[~] # /usr/local/mysql/bin/mysql -u root

4. Selectam baza de date mysql si setam noua parola pentru userul root:

Quote:

mysql> use mysql;


Database changed
mysql> update user set password=PASSWORD("ParolaDorita" ) where User='root';
Query OK, 0 rows affected (0.02 sec)
Rows matched: 1 Changed: 0 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.05 sec)
mysql>quit;

5. Oprim serverul MySQL:

Quote:

root@bsdpc[~] # /etc/rc.d/mysql stop

6. Repornim serverul MySQL cu optiunile normale de startup:

Quote:

https://filelist.io/forums.php?action=viewtopic&topicid=105579 1/2
12/31/2020 [Linux] Recuperare parola MySQL :: FileList

root@bsdpc[~] # /etc/rc.d/mysql start

Quote:

Concluzie

Bravo! Enjoy!
Last edited by potasiu98 at 03/03/2015 - 14:08:15 GMT

#5644925 by System at 03/03/2015 - 14:26:57 GMT (304 weeks ago)

Topic locked by Vandalism

Tutoriale Go !
« 1 »

This topic is locked, no new posts are allowed.

Quick Navigation Help & Support Links Social


Home FLS Client Whitelist Hall of Fame
Browse Ghidul trackerului Termeni de utilizare FileList Facebook
Forums iRC Support FileList YouTube
Profile Rules
Hosting FAQ

Powered by FileList since 2007. No rights reserved!


Running Ocelot v2.0 - heavily modified version Contact | To Top

https://filelist.io/forums.php?action=viewtopic&topicid=105579 2/2

You might also like