Skip to main content

Any negative effects with cPanel when changing MariaDB port?

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  I would just ensure that incoming connections to port 3306 are blocked in the firewall so no one will even see the service running.  cPanel will not check for custom ports for the MySQL service so you would also need to disable monitoring if you changed the port or you'll get constant alerts.

    0
  • JAB Creations

    Hi Rex! So I think I've got ModSecurity on this server though I'm not a Linux expert. I'm asking my web host's support team what, if any software running on the server would trigger constant alerts.

    Using cPanel and CloudLinux would MariaDB's configuration file be /etc/my.cnf? If so then I can change the port number there just like here on Windows, restart MariaDB via WHM and adjust the port configuration on my web platform. I will wait for my host and you to reply with any further details before I make that commitment first though.

    0
  • cPRex Jurassic Moderator

    Yes, /etc/my.cnf is the configuration file for the service.  

    0

Please sign in to leave a comment.