Plesk upgrade fails or a website fails to open with the following error:
CONFIG_TEXT: Failed to connect to database: Access denied for user 'local_mysql_root'@'127.0.0.1'
CONFIG_TEXT: Failed to connect to database: Access denied for user 'local_mysql_root'@'::1'
skip-name-resolve is used as a command line argument or in MySQL configuration file either
Ensure that mysql is not running with option
my.cnf on Linux and
my.ini on Windows do not contain
According to official MySQL documentation:
Do not resolve host names when checking client connections. Use only IP addresses. If you use this option, all Host column values in the grant tables must be IP addresses. See Section 22.214.171.124, “DNS Lookup Optimization and the Host Cache”. `