|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-05-26 13:33 UTC] mcader at eragsm dot com dot pl
Hi, I have a problem when i try to use odbc connection to Oracle. The problem is: Warning: SQL error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve service name, SQL state 08001 in SQLConnect in <file name> ODBC configuration is ok :-) odbc_connect works ok with M$ Access DB, doesn't work with Oracle PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 17 18:00:02 2026 UTC |
The computer's configuration is ok. The same page works correctly with PHP3, doesn't work with PHP4. I have no idea why!!! This is test page - very simply, but doesn't work with Oracle and PHP4 - works with M$ Access <? $fcon = odbc_connect("dsnName","user","password",SQL_CUR_DEFAULT); ?> error Warning: SQL error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve service name, SQL state 08001 in SQLConnect in d:\stronahtml\strona\test.php3 on line 10