Connections To MySQL Only Works Using an IP Address And Not Hostname: "[Warning] IP address '...' could not be resolved: Name or service not known"
(Doc ID 2190855.1)
Last updated on FEBRUARY 27, 2020
Applies to:MySQL Server - Version 5.6 and later
Information in this document applies to any platform.
When creating a user identifying the connection using hostname instead of IP address, it is not possible to connect. For example the user created as:
However if the same user is created using the IP address, it is possible to connect.
There may have been changes to the DNS.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document