ALTER USER "root"@"%" IDENTIFIED BY "1234"; # 密码1234 FLUSH PRIVILEGES; #刷新 linux 重启msql service mysql restart