Cannot connect EC2 to RDS via PHP but command line I cannot connect RDS from EC2 using phpMyAdmin but I can connect by command line.