Nick Sims
|
Posted: 01/28/2002, 8:51 AM |
|
I am a novice at CodeCharge.
I can't connect to my database. I'm running a MySQL database on a linux server. How do I connect to it test one of the pre-built applications?
|
|
|
Alex Alexapolsky
|
Posted: 01/28/2002, 8:56 AM |
|
Open your common.php file
and edit these lines
define("DATABASE_NAME","tmp_alfredo");
define("DATABASE_USER","wake");
define("DATABASE_PASSWORD","badidea");
define("DATABASE_HOST","tiger");
to match your database params.
if you have linux server you also need to modify
include("./db_odbc.inc");
line to
include("./db_mysql.inc");
get of course get include db_mysql.inc to scripts directory
|
|
|
|