Skip to main content

pkgacct mysql error since 70.0.42 update

Comments

3 comments

  • cPanelMichael
    Hello @Josh Strike, Can you let us know if skip-name-resolve is enabled in the system's /etc/my.cnf file? This option is unsupported and can lead to the issue you have described. Thank you.
    0
  • Josh Strike
    We do use skip-name-resolve and we have been using it for ten years. I suspect that turning it off would cause a lot of problems with remote mysql access, as we have other servers that need access to this database. Also, server.myhostname.com doesn't resolve to 127.0.0.1. It resolves to one of the dedicated IPs of the server. So if we turned off skip-name-resolve, mysqldump would probably fail completely. The question is how do we get pkgacct to use the user @ 'localhost' -- as it has always done up until now?
    0
  • cPanelMichael
    Hello @Josh Strike, It's possible you started seeing this warning message in cPanel & WHM version 70 due to the inclusion of the following case: Fixed case CPANEL-18831: Warn when show_grants() gets an unexpected string. Using skip-name-resolve in a server's MySQL configuration file is unsupported. We don't test the product with this option enabled, and it's been known to lead to MySQL connection issues in the past under several scenarios (e.g. when using a remote MySQL server, during account backups/transfers/restorations, and with phpMyAdmin). We document this at: Manage MySQL Profiles - Version 70 Documentation - cPanel Documentation Can you temporarily disable that option, restart MySQL, and then test if Pkgacct continues to fail? If the issue persists, please feel free to open a support ticket using the link in my signature so we can take a closer look. Additionally, I encourage you to vote and add feedback to the following feature request if you'd like to see support for the skip-name-resolve MySQL option added to the product: Allow skip-name-resolve in the MySQL configuration. Thank you.
    0

Please sign in to leave a comment.