22
Май
0

Восстановление забытого пароля root mysql для FREEBSD

Заметки для FreeBSD server 8.1-RELEASE FreeBSD 8.1
/usr/local/etc/rc.d/mysql-server stop
mysqld_safe —skip-grant-tables &
mysql -u root
use mysql
Замена пароля root:
UPDATE user SET Password=PASSWORD(«новый пароль») WHERE User=’root';
FLUSH PRIVILEGES;
/usr/local/etc/rc.d/mysql-server restart

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.

Comments are closed.

Celadon theme by the Themes Boutique