I have a project which use mysql by using pear::db to connect,now I have to modify it to adapt oracle,how can I do it
when i want to connect by using DB::connect('oci8://user:pass@localhost/db')
it always report the following errors
[db_error: message="DB Error: connect failed" code=-24 mode=return level=notice prefix="" info=" [nativecode=ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor ] ** oci8://mec:mec@ems0_db/mecdb"]
i am going crazy,help me please.
thx in advance