mysql>set password for 'root'@'localhost' = old_password('newpassword');搜索前面的帖子,回答了n次了