You are here: Changing databases from MySQL to Oracle « PHP « IT news, forums, messages
Changing databases from MySQL to Oracle

Posted by "Janet Smith" on 11/11/05 20:21

I am new to PHP and am trying to learn how it works.

We have a PHP program that is using MySQL. We are wanting to use our Oracle database instead. The Oracle database is on a different server that our PHP program. Does any one know how I can change connections from MySQL to Oracle?

We have this line in our dba.php.......
$tli_connection = dbconnect($dsn, $user, $pass);

In our config.php we have the following that defines the above............
$dsn = "some.where.com"; // MySQL hostname (something@somewhere..someextension)
$user = "MYSQL USER NAME GOES HERE"; // Username with sufficient rights to the DB - need update, select, delete, insert only
$pass = "MYSQL PASSWORD FOR ABOVE USER"; // Password for the above user


Thanks

Jan Smith
Systems Analyst
Indiana State University
Terre Haute, Indiana
Phone: (812) 237-8593
Email: jsmith7@isugw.indstate.edu

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация