Remote Add Host for Mysql database connection from other domain

sekhar

New member
Joined
Jul 7, 2022
Messages
2
I have a domain www.xyz.org, where mysql database resides. Example IP address is 1:2:3:4
I have a domain www.ebrahma.me, where App software php connection file is present. Example IP address is 10:20:30:40
I have added 10.20.30.40 "ADD HOST" in www.xyz.org [DirectAdmin]

In www.ebrahma.me, php file
@Hostname = 10.20.30.40
@dbuser = admin
@dbpassword = adminp
@dbname = superdb
@port = 3306


https://www.ebrahma.me/argm/conc.php

It throws Error Connection refused.
I am trying to connect the database of www.xyz.org from php of www.ebrahma.me.

Kindly help it
 
I have a domain www.xyz.org, where mysql database resides. Example IP address is 1:2:3:4
I have a domain www.ebrahma.me, where App software php connection file is present. Example IP address is 10:20:30:40
I have added 10.20.30.40 "ADD HOST" in www.xyz.org [DirectAdmin]

In www.ebrahma.me, php file
@Hostname = 10.20.30.40
@dbuser = admin
@dbpassword = adminp
@dbname = superdb
@port = 3306


https://www.ebrahma.me/argm/conc.php

It throws Error Connection refused.
I am trying to connect the database of www.xyz.org from php of www.ebrahma.me.

Kindly help it
Please do not double post: https://forum.directadmin.com/threa...-database-connection-from-other-domain.66528/
 
Back
Top