Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
josenobile opened this issue Aug 2, 2021 · 1 comment
Closed

Comments

@josenobile
Copy link

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

@josenobile
Copy link
Author

ecd2da6#diff-126d6c210bc4ad821cc428b8034b177003fc7171ac178088fdf6ce91cb787867R3168

... skip-name-resolve should be on -> off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants