Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
To save some confusion, as I know someone will try it..
[] type: mysqldump -u *dbuser* -p *databasename* > dumpfilename.dmp
then enter your dbpassword at the prompt
when that's done, type gzip dumpfilename.dmp
then you can ftp that file (in binary mode) to your new host... telnet/ssh there and:
type gunzip dumpfilename.dmp.gz
mysql -u *dbuser* -p *databasename* < dumpfilename.dmp
enter your dbpassword at the prompt.


I reformatted the above -- anything enclosed in *'s should be replaced with username/database/whatever, but don't include the *'s.

I figured since the command does contain a triangle brace, it'd be an idea not to display examples containing triangle braces that are only there to indicate where to insert info.

Hope I'm not confusing anyone.

Sponsored Links
Entire Thread
Subject Posted By Posted
Moving Database to a new host, HELP! Medar 06/12/2002 6:59 PM
Re: Moving Database to a new host, HELP! MattyJ 06/12/2002 8:50 PM
Re: Moving Database to a new host, HELP! Dalar 06/12/2002 9:18 PM
Re: Moving Database to a new host, HELP! MattyJ 06/12/2002 9:27 PM
Re: Moving Database to a new host, HELP! Medar 06/13/2002 2:35 AM
Re: Moving Database to a new host, HELP! mod_perl 08/18/2002 9:00 AM
Re: Moving Database to a new host, HELP! Gardener 08/18/2002 6:27 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 34299
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 1
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)