Share mysql database -



Share mysql database -

i'm looking share database 2 server 1 server, sample there 1 mysql database server relate shopping database hostgator.com , there 2 shopping websites server other hosting company not hostgator company, question is possible login in other company sever utilize database other 2 shopping site server other company!

if possible how, can utilize that! called this! there website can larn more!

many thanks.

use:

$con = new mysqli ("server_ip","db_user","db_pass","db");

instead of

$con = new mysqli ("localhost",...);

you need create user database host % permissions , need allow remote access database, see here:

enable remote access

hope looking for

mysql database sharing

Comments

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -