MySQL 修改密码

ALTER USER 'root'@'localhost' IDENTIFIED BY 'root-password';

or

SET PASSWORD FOR root = Password('root-password');
posted @ 2022-03-05 12:33  MatroLeox  阅读(31)  评论(0编辑  收藏  举报