mysql_real_connect()
| From: | zazak902 at terra dot com dot br | Date: | Wed, 18 Oct 2000 22:07:11 +0000 |
| Subject: | mysql_real_connect() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3773@lists.php.net to get a copy of this message | ||
Hello php people,
Does anyone knows if I can connect a mysql database located in other computer in other network?
I´ve tried changing the "server name" by the ip address but didin´t work;
I´ve tried using the function fconnet, to open a socket connetion on uni domain and I didn´t have
success!!
Searching in mysql manual I´ve founded a command that is
mysql_real_connect($mysql,"ipaddress","username","password",port,NULL,flag);
it´something like that....
Can anyone help me??
Regards
Rodrigo
Brazilian php developer
rodrezende@zaz.com.br