[eluser]Unknown[/eluser]
Not sure if this is exactly what you're talking about, or if it's too obvious, but you can specify a MySQL port in system/application/config/database.php on the following line:
Code:
$db['default']['hostname'] = "mysqlhost";
You can specify a (non-default) port for MySQL to connect to using the full MySQL hostname, like this:
Code:
$db['default']['hostname'] = "mysqlhost.yourdomain.com:3310";
I figured this out after discovering I didn't have permission to edit php.ini on my webserver.