更新时间:2022-06-22 22:46:33
您需要授予从remotehost连接的权限
You need to give permissions to connect from remotehost
mysql>将所有特权授予数据库.*以'password'身份以'GRANT OPTION'标识为'username'@'%';
mysql>GRANT ALL PRIVILEGES ON database.* TO 'username'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;