Page 1 of 1

Remote Database with Custom Port

Posted: Wed Feb 02, 2022 6:41 pm
by Egregious
How would I add a remote MySQL database with a custom port?

Code: Select all

v-add-database-host mysql new-server.com root password
If I try using an "IP:PORT" format as the host, it says "invalid host format."

I tried adding it without the port and then manually adding the port here:

Code: Select all

/usr/local/vesta/conf/mysql.conf
But Vesta says it cannot connect when trying to add a new database in the web panel.

Any advice? Thank you.