For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > November 2004 > RE: [PHP-DB] Connecting to a remote server?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] Connecting to a remote server?
Bastien Koert

2004-11-29, 8:55 pm


instead of 'localhost' use the ip address of the server

bastien


>From: "Chris Payne" <cjp@planetoxygene.com>
>To: <php-db@lists.php.net>
>Subject: [PHP-DB] Connecting to a remote server?
>Date: Mon, 29 Nov 2004 18:09:06 -0500
>
>Hi there everyone,
>
>
>
>I have written a program in PHP with MySQL as the DB backend, It works
>great
>but I need to be able to connect to a remote MySQL DB server for an Updates
>system I’ve written, how do I connect to a remote MySQL server with PHP?
>I’ve only ever done it with localhost.
>
>
>Thanks
>
>
>
>Chris
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.802 / Virus Database: 545 - Release Date: 11/26/2004
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com