Re: Using NOIP provided hostname in MySQL user
Glen,
What the server does at connect time is to get the peer IP and try to do a reverse DNS query (ip-to-DNS name). Then it uses the name the lookup provides and tries to match it against the list of user accounts (the host part).
I'd suggest you do netstat at the time your client connects, get the IP it uses and try to do a reverse DNS lookup on it from the server OS console.
You will then know what host name is returned by DNS.
The alternative is to turn off that reverse DNS lookup and stick to the raw IPs (via --skip-name-resolve).
See
https://dev.mysql.com/doc/refman/8.0/en/host-cache.html for further instructions.
Georgi "Joro" Kodinov
MySQL SrvGen team lead
Plovdiv, Bulgaria
Subject
Views
Written By
Posted
4392
January 29, 2019 06:20PM
Re: Using NOIP provided hostname in MySQL user
1377
February 02, 2019 05:02AM
1033
February 04, 2019 02:22AM
803
April 17, 2019 07:13AM
1375
April 17, 2019 06:08PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.