I cannot connect to Amazon RDS instance from a shared hosting or my computer's terminal but can access from a MySQL Client (Navicat)
.
PHP Fatal error: Uncaught Exception: SQLSTATE[HY000] [2002] Connection refused.
telnet dbname.xxxxxxxxxxx.ap-southeast-1.rds.amazonaws.com 8889
Trying 13.251.196.229...
Connected to ec2-13-251-196-229.ap-southeast-1.compute.amazonaws.com.
Escape character is '^]'.
N
5.6.40-log?Q)xC$)BP?Jb1h:*b/b$'9mysql_native_password3CJNmxyPq6n4b5dZ
!#08S01Got packets out of orderConnection closed by foreign host.
Can you help find any solutions regarding this? Thanks!