Closed osalavie closed 2 years ago
Hey,
you can change the port by changing the environment variable DATABASE_URL
in web
service.
Current url:
mysql://%env(MYSQL_USER)%:%env(MYSQL_PASSWORD)%@%env(MYSQL_HOST)%:3306/%env(MYSQL_DATABASE)%?serverVersion=mariadb-10.4.11
Postfix (mta) & Dovecot (mda) would fail doing this. Non default mysql ports are currently not supported.
Fixed in the next upstream version. Just set the MYSQL_PORT environment variable
How can i config the port for connect to remote mysql database which didn't use default port (3306).