Local Navicat version: 12.1.16 (64-bit)
Problem: When using Navicat to connect to the Oracle database, an error ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA was reported
Cause of the problem: Check that the host, port, user name and password are correct, and the service name is not filled. When Navicat connects to Oracle, the service name is ORCL by default, and an error will be reported if it is not filled or filled in incorrectly.
Solution: Fill in the correct service name and the connection will be successful