Database credentials: connect to a non-standard MySQL port
I'd like C5 to connect to a MySQL server which runs on a non-standard port. How would I do that? I've tried config/site.php:
It seems that the colon and everything after it is ignored. I can even write 'localhost:HELLO' and it connects to port 3306.
After that I've thought about hacking the core (not nice, I know). In concrete/libraries/loader.php around line 195..200 I've tried adding '?port=3333' to both variants of $dsn string according to some AdoDB manual I found, still with no luck.
Thanks for any enlightenment in this case,
you'll be pleased to know that there's actually a really easy way to do this.
strange but true :)
Which file i need to edit ?