首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >将PhpMyAdmin连接到AWS RDS实例

将PhpMyAdmin连接到AWS RDS实例
EN

Stack Overflow用户
提问于 2020-05-12 02:32:11
回答 1查看 685关注 0票数 0

我正在尝试将PhpMyAdmin的XAMPP安装连接到我的AWS RDS实例。我对config.inc.php进行了以下配置:

代码语言:javascript
运行
复制
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'admin';
$cfg['Servers'][$i]['password'] = '*****';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '*******.us-east-2.rds.amazonaws.com';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;

一切都很好,因为PhpMyAdmin从下拉列表中选择了它。但当我选择连接时,它将永远花费时间,并最终给出以下错误(我已经检查了安全grps,它允许所有流量。有没有办法验证我的登录和安全组):

代码语言:javascript
运行
复制
MySQL said: Documentation
Cannot connect: invalid settings.
mysqli::real_connect(): (HY000/2002): Connection timed out
Connection for controluser as defined in your configuration failed.
mysqli::real_connect(): (HY000/2002): Connection timed out
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
EN

回答 1

Stack Overflow用户

发布于 2020-05-12 05:08:52

在将我的桌面IP的新规则添加到RDS实例后,这是有效的。本视频将指导您完成故障排除步骤:

youtube.com/watch?v=PxFZt8MG2ss

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61736751

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档