cygwin mysql forget root password

Posted Cluster Note

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cygwin mysql forget root password相关的知识,希望对你有一定的参考价值。

1,mysqld --skip-grant-tables

2,use mysql

3,update user set password=password("123") where user="root";

4,flush privileges;

-----------------

1,grant select,insert,update,delete  on compatrans.* to ‘reer‘@‘localhost‘ identified by ‘an8g‘; 

以上是关于cygwin mysql forget root password的主要内容,如果未能解决你的问题,请参考以下文章