We can't go with dblink.
But, with db connection through IP address, we can connect it.
cxn = MySQLdb.connect(host='192.168.1.13',user='root',passwd='',db='navicat')
its the process.
bhanu1225
Junior Poster in Training
59 posts since Dec 2008
Reputation Points: 10
Solved Threads: 1
here, both are similar in connection statement.
example...
if ($GLOBALS["db_persistent"]) {
$c = @mysqli_connect ( $host, $login, $password, $database);
} else {
$c = @mysqli_connect ( $host, $login, $password, $database);
}
in php.
example....
cxn = MySQLdb.connect(host='192.168.1.13',user='root',passwd='',db='navicat')
in python
bhanu1225
Junior Poster in Training
59 posts since Dec 2008
Reputation Points: 10
Solved Threads: 1