添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
You will need to reset the password.
First start the mysql server instance or daemon with the --skip-grant-tables option. (security setting)
Then Execute these statements.
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('your_new_password') where USER='root';
mysql> FLUSH PRIVILEGES;
Finally, restart the instance/daemon without the --skip-grant-tables option.
You should be able to connect with your new password.
# mysql -u root -p
Enter password: your_new_password
Hope this helps.
Shawn Tucker

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.