Here your security groups are incorrect. If RDS is the only instance in the VPC then there should be 1 security group assigned to the RDS server and that security group should have a rule for port 3306 that allows ingress from your personal IP address and your dedicated server's IP address.