When using navicat to connect to Oracle, the program reported an error, prompting: "ORA-12514, TNS:listener does not currently know of service requested in connect descriptor". After checking, it was because The service name is spelled incorrectly.
Solution:
The first step is to find tnsnames.ora in the oracle installation directory.
(Directory example of tnsnames.ora: D:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora)
Related recommendations: "Navicat for Mysql graphic tutorial》
The second step is to find the service_name in tnsnames.ora. This is the service name that needs to be filled in when navicat connects to the database:
The third step is to fill in the corresponding service_name in the connection attributes of navicat, and of course host, username, password, etc. If normal, the connection should be successful.
The above is the detailed content of How to solve the problem that the navicat listening program is currently not recognized. For more information, please follow other related articles on the PHP Chinese website!