Stop mysql dulu
#/usl/local/etc/rc.d/mysql-server stop.
#mysqld_safe --skip-grant-tables
than open new shell and go to the mysql-server
#mysql --user=root mysql
now you enter the mysql server and run this command
update user set Password=PASSWORD('new-password') where user='root';
flush privileges;
exit;
start the server
done
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment