Skip to content

'name resolution is active' should be OK when cPanel is detected #561

@josenobile

Description

@josenobile

According to

https://support.cpanel.net/hc/en-us/articles/360052752094

Do not use the skip-name-resolve setting in your server's MySQL configuration. This setting can cause problems on any server

https://support.cpanel.net/hc/en-us/articles/360049132114

Skip-name-resolve breaks restores with MariaDB

https://support.cpanel.net/hc/en-us/articles/360053955853-How-To-Resolve-ER-PASSWORD-NO-MATCH-Can-t-find-any-matching-row-in-the-user-table-when-installing-WordPress-via-WordPress-Manager

When skip-name-resolve is enabled, it can cause the "Can't find any matching row in the user table" error to appear when performing several MySQL-related functions within cPanel

'name resolution is active' should be OK when cPanel is detected. With an equivalent message similar to query cache:

Query cache is disabled by default due to mutex contention on multiprocessor machines.

Something like

[OK] name resolution is enabled due to cPanel doesn't support this disabled.

cPanel can be detected by checking the existence of this file: /usr/local/cpanel/cpanel

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions