Access MySQL in one cPanel from another Server cPanel

bealefay

Registered
Feb 5, 2020
1
0
1
Hillsville
cPanel Access Level
Website Owner
Hello :)
I have two cPanel and i have the application files in one cPanel and MySQL in another cPanel. I want to store data into second cPanel.
  1. I have created the Remote MySQL in 2nd cPanel with IP Address of First cPanel.
  2. In 1st cPanel i have given host as 2nd cPanel host and 2nd cpanel's Database username, password.
The problem is i cannot coonect to mySQL database. I am using PHP Application
Any ideas ? :confused:
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
In order to allow this you'd need to have a Remote MySQL host Profile added - the following goes over this:


Through cPanel the following should be helpful as well: