Remote MySQL connection not working for inmotionhosting

Avatar
  • Answered
/* This particular connection query from a different web server isn't working, inspite of me giving access to that IP at RemoteMySQL section in cpanel. Is there any mistake in the query?
Avatar
johnpaulb-imhs1
Hello RajaSekhar, Thank you for your question. If you are having problems connecting to a database remotely, and have already added the IP address of the connecting server to the remoteMYSQL connections, then I recommend reading our article on connecting to a database using PHP. It gives a working example of the code you can use. Make sure you are updating the Hostname to the domain name of the site hosting the Database. If you have any further questions, feel free to post them below. Thank you, -John-Paul