aws-samples / eb-demo-php-simple-app

Apache License 2.0
148 stars 171 forks source link

Allow customization of database port #3

Open ghost opened 7 years ago

ghost commented 7 years ago

I added a new environment variable RDS_PORT which allows the user to connect to a MySQL database running on a non-standard port or to connect to a ProxySQL instance (which by default listens on port 6033).

If no RDS_PORT environment variable is found, the database connection uses the default port 3306.