Thread: PHP VS Oracle
View Single Post
 
Old June 4th, 2004, 05:58 AM
Daniel Walker Daniel Walker is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The page where you are making the connection to the database, by the look of it :). It will probably contain something along the lines of:

// DB connection settings
$user = 'local_user_name';
$pass = 'local_password';
$host = 'localhost';
$db_name = 'databasename';
// local DB connection settings

// set up the data source name connection string
$dsn = "mysql://$user:$pass@$host/$db_name";

// make the connection to the DB
$db = DB::connect($dsn);

// check a valid connection was made
if (DB::isError($db)) {
    die($db->getMessage()); //<- This is what is printing your error message out.
}

Give it the correct username and password for someone who has the right to log in to your Oracle database from localhost, and you should be good to go.

Take it easy,
Dan