I've set up an instance of Scalar running here at the University of Washington. As it is a shared hosting environment, we need to run our instance of MySQL on a unique port. I added a port to system/application/config/database.php as described in the CodeIgniter documentation:
$db['default']['port'] = 1234;
This works and lets us connect to the database from the CI application, but apparently not from ARC2. I am getting these error messages multiple times on every page I access:
A PHP Error was encountered
Severity: Warning
Message: mysqli_connect(): (HY000/2005): Unknown MySQL server host 'oursubdomain.u.washington.edu:1234' (2)
Filename: store/ARC2_Store.php
Line Number: 51
It appears arc is not properly passing the separate $port parameter to mysqli_connect as is required.
I've set up an instance of Scalar running here at the University of Washington. As it is a shared hosting environment, we need to run our instance of MySQL on a unique port. I added a port to
system/application/config/database.php
as described in the CodeIgniter documentation: $db['default']['port'] = 1234; This works and lets us connect to the database from the CI application, but apparently not from ARC2. I am getting these error messages multiple times on every page I access:It appears arc is not properly passing the separate
$port
parameter tomysqli_connect
as is required.