需要管理员权限执行以下内容:
GRANT ALL PRIVILEGES ON *.* TO 'MysqlUserName'@'%' IDENTIFIED BY "MysqlPassword";
或
GRANT ALL PRIVILEGES ON *.* TO 'MysqlUserName'@'YourIP' IDENTIFIED BY "MysqlPassword";