RE: [PHP] HELP migrating php db between domains
| From: | Jack Dempsey | Date: | Tue, 22 Apr 2003 01:05:29 +0000 |
| Subject: | RE: [PHP] HELP migrating php db between domains | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144746@lists.php.net to get a copy of this message | ||
hi teresa,
you can't find the db? i'm not sure i understand how this can be...can you
connect to mysql from the command line, find the correct db, and use
mysqldump to save the database, then move it?
feel free to let me know what the trouble is in more detail off list,
jack
> -----Original Message-----
> From: teresa gamble [mailto:teresagamble@cogeco.ca]
> Sent: Monday, April 21, 2003 9:01 PM
> To: php-general@lists.php.net
> Subject: [PHP] HELP migrating php db between domains
>
>
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>