'Mysql phpfpm ngnix Docker-compose connecting to AWS RDS database over SSH
Connecting to Amazon RDS database in PHP,
i'm running a local web dev envirement through docker compose, which has the following containers
PHPFPM MYSQL 5.7 PHPMYADMIN NGNIX WORKBENCH
i can connect to my amazon rds database workbench over SSH and i want to do the same in my php config:
This is my current config:
return array(
'dbHost' => 'db',
'dbUser' => 'root',
'dbPass' => 'password',
'dbName' => 'flowte'
);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
