PHP Codeigniter : set Port Number for MySQL Configuration
Use the port
key in database.php
.
$db['default']['port'] = 5432;
OR
$db['default']['hostname'] = "mysqlhost.yourdomain.com:3310";
Use the port
key in database.php
.
$db['default']['port'] = 5432;
OR
$db['default']['hostname'] = "mysqlhost.yourdomain.com:3310";