[Maintain] Changing MySQL port

Fox, Sam P spfox at bendbroadband.net
Thu Oct 11 15:39:30 UTC 2007


Hello everyone,

The mysql instance for maintain on our server is listening on 3307
rather than the standard port 3306.  I found mention of the database
connection in lib.php but I don't see an option for port number.  Which
configuration files do I need to change so that maintain connects on
3307?  Here's the line from php.ini that I'm referring to:

Line 139:
$dbh = mysql_connect($dbinfo['host'], $dbinfo['username'],
$dbinfo['password']);

Thanks!

Sam Fox


More information about the maintain mailing list