CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 BugTrack mysql error

Print topic Send  topic

Author Message
James
Posted: 08/07/2002, 10:54 PM

Dear Support,

I am trying to install BugTrack on mysql php4. I have created the tables and made the changes to common.php

yet I get the error below and can not log into Bugtracker. Please help.

James

<?php
/*********************************************************************************
* Filename: common.php
* Generated with CodeCharge 1.1.18
* PHP & Templates build 03/28/2001
*********************************************************************************/

error_reporting (E_ALL ^ E_NOTICE);
include("./template.php");

// Database Parameters
include("./db_odbc.inc");

define("DATABASE_NAME","bugtracker1");
define("DATABASE_USER","bugtracker1");
define("DATABASE_PASSWORD","bugtracker1");
define("DATABASE_HOST","localhost");

// Database Initialize
$db = new DB_Sql();
$db->Database = DATABASE_NAME;
$db->User = DATABASE_USER;
$db->Password = DATABASE_PASSWORD;
$db->Host = DATABASE_HOST;



This is the erroer message I get.
Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /home/web/www.galaxyserver.co.uk/html/bugtracker/db_odbc.inc on line 35
Database error: Link-ID == false, odbc_pconnect failed
ODBC Error: 0 ()
Session halted.
Ron
Posted: 08/08/2002, 6:00 AM

James,
the error means that you haven't created "bugtracker1" DSN on the server where the site is running. Please check it.
James
Posted: 08/08/2002, 6:49 AM

do you know whereI can get info on how to set this up?

thanks

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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