Re: oci_connect still not working...I added a debug statement
| From: | Chris | Date: | Tue, 18 Nov 2008 01:55:21 +0000 |
| Subject: | Re: oci_connect still not working...I added a debug statement | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45647@lists.php.net to get a copy of this message | ||
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/