Medium severityconnection
Power BI Refresh Error:
1042
What does this error mean?
MySQL cannot perform a reverse DNS lookup for the connecting client's IP address.
Common causes
- 1MySQL has skip_name_resolve disabled and attempts reverse DNS lookups that time out or fail
- 2The DNS server is unreachable or misconfigured on the MySQL host
- 3The connecting IP has no PTR record in DNS
How to fix it
- 1Step 1: Disable reverse DNS lookups in my.cnf: add `skip_name_resolve` under `[mysqld]` and restart MySQL.
- 2Step 2: If skip_name_resolve is enabled, ensure all GRANT statements use IP addresses, not hostnames.
- 3Step 3: Alternatively, add a PTR record for the client IP in your DNS configuration.
Frequently asked questions
Official documentation: https://dev.mysql.com/doc/mysql-errors/8.0/en/server-error-reference.html