Skip to main content

MySQL config error

Comments

11 comments

  • cPanelMichael
    Hello, Could you check to see if the issue persists after removing "skip-name-resolve" from your /etc/my.cnf file and restarting MySQL? Thank you.
    0
  • Rodrigo Gomes
    Hello, Could you check to see if the issue persists after removing "skip-name-resolve" from your /etc/my.cnf file and restarting MySQL? Thank you.

    This solved my problem! Thank you!
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Note that cPanel isn't designed or tested with the skip-name-resolve option in the /etc/my.cnf file, so enabling this option might break certain functionality. Thank you.
    0
  • ferdeenand
    Hello, Could you check to see if the issue persists after removing "skip-name-resolve" from your /etc/my.cnf file and restarting MySQL? Thank you.

    Where can I find this? I'm the owner of the site with no webmaster so I have to solve this by my own. I get the same error when trying to connect a user to a database.
    0
  • cPanelMichael
    Where can I find this? I'm the owner of the site with no webmaster so I have to solve this by my own. I get the same error when trying to connect a user to a database.

    Hello, You will need to report this issue to your web hosting provider so they can check for that setting. It's not possible to view that file without root access to the server. The following document is helpful if you need to identify your web hosting provider: How to Identify Your Hosting Provider - cPanel Knowledge Base - cPanel Documentation Thank you.
    0
  • Rodrigo Gomes
    Where can I find this? I'm the owner of the site with no webmaster so I have to solve this by my own. I get the same error when trying to connect a user to a database.

    This change must be done with root access. You need to contact your hosting provider.
    0
  • ferdeenand
    I'm happy to see the issue is now resolved. Note that cPanel isn't designed or tested with the skip-name-resolve option in the /etc/my.cnf file, so enabling this option might break certain functionality. Thank you.

    Can you help me with a tutorial please? I need to do so, too. But I'm new in this thing.
    0
  • Rodrigo Gomes
    Can you help me with a tutorial please? I need to do so, too. But I'm new in this thing.

    Even if there is a tutorial, if you do not have root access from the server, you will not be able to make this change.
    0
  • cPanelMichael
    Can you help me with a tutorial please? I need to do so, too. But I'm new in this thing.

    You will need to contact your web hosting provider for help making this change, as it's not possible to access that file via SSH without root access to the server. Thank you.
    0
  • ferdeenand
    Even if there is a tutorial, if you do not have root access from the server, you will not be able to make this change.

    It looks like i have ssh access, then, can you help me please?
    0
  • cPanelMichael
    It looks like i have ssh access, then, can you help me please?

    Do you have "root" access to the system? For instance, are you able to access WHM and SSH with the "root" username? Thank you.
    0

Please sign in to leave a comment.