У меня два сервера как abc.com
а также xyz.com
, На abc.com
Я создал базу данных. Я хочу получить доступ к этой базе данных в xyz.com
,
Я создал удаленный хост 123.123.123.123
на abc.com
, Но не знаю, следующий шаг.
заранее спасибо
Я думаю, что вы должны сначала прочитать документацию cPanel / WHM, касающуюся настройки удаленного сервера MySQL для вашего сервера cPanel / WHM:
https://documentation.cpanel.net/display/ALD/Remote+MySQL
As a basic guideline the steps would be as follow:
- create a mysql database in a cPanel's user account
- create a mysql username and password for that database
- grant rights to that user for that database
- add the ip address of the mysql remote host you want to use
- check your server firewall and be sure that you grant access to mysql (tcp port 3306) to that ip address;
- from the remote host try doing a **telnet cpanel-server-ip 3306** and see if you can connect
Других решений пока нет …