This content has been marked as final. Show 2 replies
db = "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 188.8.131.52)(PORT = 1521)))(CONNECT_DATA=(SID=o11gr2ts)))";
I think your SID is creating issue
Please post the output of
select instance from v$thread ;
select name from v$database ;
yes you are correct, hindsight being a wonderful thing it looks like it was trying to connect to a non-existent instance.
select instance from v$thread = '11gr2ts'
select name from v$database = 'o11gr2ts'
PHP script now changed to correct instance name and connection is successful !
Thankyou very much, must have been a typo on my part on initial install...