4.4
(7)

Pentru a reseta parola pentru utilizatorul root din MySQL pe FreeBSD, rulati urmatoarele comenzi:

service mysql-server stop
mysqld_safe --skip-grant-tables &
mysql -u root;
use mysql;
update user set password=PASSWORD ("parola-dorita") where User='root';
exit

service mysql-server restart

mysql_upgrade -u root -p --verbose

mysql -u root -p
grant all on . to root@"%" identified by "parola-dorita";
exit

*In comenzile de mai sus inlocuiti „parola-dorita” cu parola dvs.

How useful was this post?

Click on a star to rate it!

Average rating 4.4 / 5. Vote count: 7

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!