Skip to content

mysql port not used in installation

short description

on installation it asks for a mysql port, however this is not used

correct behaviour

the mysql command needs something like this adding: -P $port I'm testing an installation and mysql is on a custom port which I've never used before, I enter port 3030 and the sql installation failed. I opened install/lib/installer_base.lip.php and hard coded ' -P 3030 ' into the query, this then ran properly.

environment

centos 7.4 define('ISPC_APP_VERSION', '3.1.11');

proposed fix

just add into the query starting on line 259: -P $conf['mysql']['admin_port']