login mysql -u -p exec command alter user 'userName'@'localhost' identified by 'newPassowrd'; reference https://dev.mysql.com/doc/refman/8.0/en/alter-user.html
评论区