一.修改mysql 数据库的远程访问权限 use mysql; SELECT HOST,user,PASSWORD FROM USER; -- 查询用户信息 UPDATE USER SET HOST="%" WHERE USER='root'; -- 修改host地址 flush privileges; -- 提交,刷新 二.修改阿里云的安全组,放开接口 三.防火墙入口规则,端口放开3306
<?xml version="1.0" encoding="UTF-8"?> <!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work for additional informationregarding co