if you forgot the root password - here is the recipe to reset it:
1) kill mysqld
2) run
mysqld_safe –skip-grant-tables &
mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’newrootpassword’) WHERE User=’root’;
mysql> FLUSH PRIVILEGES;
3) kill the started MySQL server
4) restart it
Показ дописів із міткою administration. Показати всі дописи
Показ дописів із міткою administration. Показати всі дописи
вівторок, 15 вересня 2009 р.
Resetting forgotten root password
if you forgot the root password - here is the recipe to reset it:
1) kill mysqld
2) run
mysqld_safe –skip-grant-tables &
mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’newrootpassword’) WHERE User=’root’;
mysql> FLUSH PRIVILEGES;
3) kill the started MySQL server
4) restart it
1) kill mysqld
2) run
mysqld_safe –skip-grant-tables &
mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’newrootpassword’) WHERE User=’root’;
mysql> FLUSH PRIVILEGES;
3) kill the started MySQL server
4) restart it
Підписатися на:
Дописи (Atom)