【多选题】
A mysqladmin –u user_name –h host_name –ppassword “new_password”;
B INSERT INTO mysql.user (password,root,hostname) VALUES (PASSWORD(‘rootpassword’),”root”,”hostname”);
C SET PASSWORD=PASSWORD('rootpassword');
D UPDATE mysql.user SET password=PASSWORD('rootpassword') WHERE user=”root” and host=”host_name”;
查看更多