HRU Labs - 2013-03-16

To make it clear of what a properly configured /includes/dbcommon.php looks like.

Examples of a properly configured dbcommon.php file

If your database is located on a different computer:

$host="10.124.11.103";
$user="openkbuser";
$pwd="1wr56uter";
$port="";
$sys_dbname="openkb_public"

Note: nothing put in the port field, that means the software will use the default mysql network communication port.

If the database server is located on the same machine as the web server:

$host="localhost";
$user="j_smith";
$pwd="colorado1";
$port="17342";
$sys_dbname="openkb_private";

Note: $port="17342"; That means this particular database server is communicating on port 17342

Hope this helps clear that part up for you.