php-db | 2001062
Date: 06/22/01
- Next message: TathitSA: "[PHP-DB] Registration"
- Previous message: Steve Brett: "RE: [PHP-DB] mysql client compression with php?"
- Next in thread: Jonathan Hilgeman: "RE: [PHP-DB] Connecting to MySQL"
- Maybe reply: Jonathan Hilgeman: "RE: [PHP-DB] Connecting to MySQL"
- Maybe reply: Dobromir Velev: "Re: [PHP-DB] Connecting to MySQL"
- Reply: Jan de Koster: "Re: [PHP-DB] Connecting to MySQL"
- Reply: Andreas D. Landmark: "Re: [PHP-DB] Connecting to MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
How can I connect to our MySQL server remotely. Ordinarily, we upload the
same PHP application the same machine that runs MySQL too. So, I just
access it using "localhost" in the mysql_connect( ) function, like:
mysql_connect($servername,$dbusername,$dbpassword);
where $servername = "localhost"
What if I want to access the MySQL server from my Win test machine that
runs Apache?
Thanks,
Lester
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: TathitSA: "[PHP-DB] Registration"
- Previous message: Steve Brett: "RE: [PHP-DB] mysql client compression with php?"
- Next in thread: Jonathan Hilgeman: "RE: [PHP-DB] Connecting to MySQL"
- Maybe reply: Jonathan Hilgeman: "RE: [PHP-DB] Connecting to MySQL"
- Maybe reply: Dobromir Velev: "Re: [PHP-DB] Connecting to MySQL"
- Reply: Jan de Koster: "Re: [PHP-DB] Connecting to MySQL"
- Reply: Andreas D. Landmark: "Re: [PHP-DB] Connecting to MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

