[OJS 3.3.0-11] MySQL non-standard port

Hi,

I have a question about if is possible use a custom port for MySQL connection. In such case, How can I define the custom connection port in the database section in config.inc.php

Thanks!

There should be a section

; Set the non-standard port and/or socket, if used
; port = 3306
; unix_socket = /var/run/mysqld/mysqld.sock

in your config.inc.php 's database section. If not, add it. Then uncomment the port line and set the port accordingly.

1 Like