We were experimenting with running an EE database stored on AWS and we found that MySQL was running on a non-standard port.

1 Answer 1


First thought was we'd add a config var for the MySQL port as per the CodeIngiter docs

$db['default']['port'] = 5432

but that didn't work instead we had to change the hostname to

$db['expressionengine']['hostname'] = "mysqldbinstance.hostname.com:4703";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.