Go to mysql prompt with
# mysql -u root
> use mysql;
>Select Host, User, Password from User;
> update user set password = '' where user = 'root' and host = 'localhost';
# mysql -u root
> use mysql;
>Select Host, User, Password from User;
> update user set password = '' where user = 'root' and host = 'localhost';
No comments:
Post a Comment