Skip to main content

Allow Remote MySQL Checklist



  • 24x7server
    Looking to open up port 3306; but what measures should I take to ensure the security of the server

    If you are on a shared server, never do this, as opening 3306 publically will have a risk of big time SQL injection.. It is always advised to have the IP added that requires access to the MySQL.. You can create shell script to make your work easy if you want, but this is the best method advisable..
  • osirion
    Yeah, this is a shared hosting environment for 100s of clients. Running on cPanel with CloudLinux / LVE / CSF / LFD and strong passwords etc.
  • cPanelMichael
    Hello, Have you considered allowing an IP range instead of allowing access to all IP addresses? Thank you.

Please sign in to leave a comment.