How to Connect remote DB server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is possible to connect a remote db server using xxxxx_connect? 
e.g. a PostgreSQL in server PSQLDB, ip=192.168.0.100  and a MSSQL server MSSQLDB, ip=192.168.0.110

I tried pgsql_connect("psqldb","administrator","") & pgsql_connect("192.168.0.100","administrator","") but failed!

Error is "Unable to connect to server: psqldb in psqltest.php on line 2" & "Unable to connect to server: 192.168.0.100 in psqltest.php on line 2"

Can anyone help?

regards
./pl

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux