mysql -u root -pvmware
mysql>use mysql;
mysql>update user set host = ‘%‘ where user = ‘root‘;
mysql>flush privileges;
mysql>select host, user from user;
时间: 2024-10-12 11:07:30
mysql -u root -pvmware
mysql>use mysql;
mysql>update user set host = ‘%‘ where user = ‘root‘;
mysql>flush privileges;
mysql>select host, user from user;