joniyoku
try
stop:
/etc/init.d/mysqld stop
Password-free login
/www/server/mysql/bin/mysqld_safe --skip-grant-tables &
mysql -u root
change Password
use mysql;
FLUSH PRIVILEGES;
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
flush privileges;
exit;
Stop and start:
/etc/init.d/mysqld stop
/etc/init.d/mysqld start