Problem description:
The database query encountered the following problems:
Problem Analysis:
It is obvious that the TNS Listener is faulty, either the configuration is incorrect or the database is unavailable. However, the current database is up and can be connected normally.
The queried object may be a db_link. The specific connection is faulty.
Problem locating and solution:
-- Query the data object to obtain that it is a synonymselect * From dba_objects t where T. object_name = upper ('sy _ hgq_data_define '); -- Query synonyms to obtain a db_linkselect * From dba_synonyms t where T. synonym_name = upper ('sy _ hgq_data_define '); -- Query db_link to obtain the description and locate select * From dba_db_links t where T. db_link = upper ('to _ mds ');
Expansion:
For details about the times of consent, refer to view the creation and deletion of DB link.
ORA-12514: TNS: Listener does not currently know of service...