Menu

#2 Adding port to DB connection

open
nobody
None
5
2013-02-03
2007-11-27
No

In order to add a 'Port' attribute to /Config/DataSource/Database in Config.xml file; you need to:

1. bin/Configuration.php@57
$tmp["Port"] = $db["ATTRIBUTES"]["PORT"];

2. bin/BizSystem.php
$params = array ('host' => $dbinfo["Server"],
'username' => $dbinfo["User"],
'password' => $dbinfo["Password"],
'dbname' => $dbinfo["DBName"],
'port' => $dbinfo['Port']);

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.