CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 I can't connect to my database?

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.