Skip to main content

cPanel user cant connect to remote mysql database

Comments

2 comments

  • 24x7ss
    Enabling "allow_url_fopen" poses serious security risk. I will suggest you to tell your client to use cURL function in code to connect to the database.
    0
  • cPanelMichael
    Hello, Feel free to update us with the outcome after advising the client to use cURL. Note that the remote MySQL server administrator will need to add your server's IP address as an allowed IP for remote connections to MySQL. Thank you.
    0

Please sign in to leave a comment.