HELP migrating php db between domains
| From: | teresa gamble | Date: | Tue, 22 Apr 2003 01:01:15 +0000 |
| Subject: | HELP migrating php db between domains | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-144745@lists.php.net to get a copy of this message | ||
I have redesigned a site that was done by the previous webmaster in php with
a database. I have managed not to screw it up, but now have to move the
site to a new domain name, and can't find the db to move.
Need to either:
1. point the new website to the old IP address and server
2. find the db information and move it to the new server
Here is the script I have narrowed it to:
define("HOSTSERVER", "localhost" ); // the name of your database host
server - you can ask your isp what this value should be - modify
but I need to replace localhost with something - I tried the old IP
address - no go. Any help??
I am running out of time on my existing domain before it expires and the
data will be lost.
Teresa Gamble
Hamilton On