It looks like you're new here. If you want to get involved, click one of these buttons!
I have a config.php file with the following content (related to db):
$dbHost = 'myhost';
$dbUser = 'user';
$dbPass = 'password';
$dbName = 'sendy';
$dbPort = 9010;
When I access Sendy's URL (first time), I get the message:
"Can't connect to database There is a problem connecting to the database. Please try again later."
In Apache error log, I see the message:
PHP Warning: mysqli::mysqli():  Connection timed out (trying to connect via tcp://myhost:3306) in /opt/httpd/sendy/htdocs/includes/functions.php on line 6
It seems that the port I set in config.php is not being used during the installation.
How can I fix it?
Try appending your port number to the host, eg.:
See if it works?
Hi Ben, it worked!