Re: oci_connect still not working...I added a debug statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




oci_internal_debug(1); // turn on tracing
// Create a database connection

// $conn = oci_connect("hr", "hr", "//dwlin165.us.oracle.com/lmkiiiGDNSID");

That definitely won't work..

// $conn = oci_connect('hr', 'hr',$db);

try
oci_connect('hr', 'hr', '//localhost/xe');

I assume you unlocked the 'hr' account?

See page 35 of http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux