Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-30-2009, 06:11 PM   #1
96ukssob
So Fucking Banananananas
 
96ukssob's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: If I was in your ass you'd know it
Posts: 12,991
help... moving one MySQL DB to another server

I have two huge mysql tables that I am trying to move to a new server. I tried to download the files but it is taking to long and hangs up the server while trying to process it. one is about 8gb and the other is around 10gb.

Is there an "easy" way to move the table from server A to server B without vast programming knowledge?

thanks
__________________
Email: Clicky on Me
96ukssob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 06:14 PM   #2
area51 - BANNED FOR LIFE
So Fucking Banned
 
Join Date: Aug 2009
Posts: 3,164
It's pretty easy to do. Why not have your host do it if you're having trouble?
area51 - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 06:15 PM   #3
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
If you already dumped the database you could split it up (maybe using zip) into a multi-part archive say in 500MB pieces. Then piece it together on the server.

You don't necessarily need to download the files locally. You could use sftp, scp, etc to copy the files server to server.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 06:32 PM   #4
96ukssob
So Fucking Banananananas
 
96ukssob's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: If I was in your ass you'd know it
Posts: 12,991
Quote:
Originally Posted by area51 View Post
It's pretty easy to do. Why not have your host do it if you're having trouble?
Quote:
Originally Posted by signupdamnit View Post
If you already dumped the database you could split it up (maybe using zip) into a multi-part archive say in 500MB pieces. Then piece it together on the server.

You don't necessarily need to download the files locally. You could use sftp, scp, etc to copy the files server to server.
each box is with a different host.

I was told by the host where the database is at that they would prepare the file as a .tar or .gz file and I could use telnet or ssh to get the file... i have NO clue then what to do with it once its on the new server
__________________
Email: Clicky on Me
96ukssob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 06:35 PM   #5
Kick Ass Chat
Confirmed User
 
Join Date: Dec 2002
Posts: 2,057
Quote:
Originally Posted by bossku69 View Post
each box is with a different host.

I was told by the host where the database is at that they would prepare the file as a .tar or .gz file and I could use telnet or ssh to get the file... i have NO clue then what to do with it once its on the new server
If your new host won't do it for you then they are the wrong host to be moving to.

__________________
[email protected]
Kick Ass Chat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 06:43 PM   #6
bbobby86
partners.sexier.com
 
bbobby86's Avatar
 
Industry Role:
Join Date: Jan 2007
Location: San Francisco, CA
Posts: 11,926
help for you...
__________________

bbobby86 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 07:32 PM   #7
SeizeTheDomain
Confirmed User
 
SeizeTheDomain's Avatar
 
Join Date: Aug 2008
Location: FL and CA
Posts: 753
Quote:
Originally Posted by GirlsFreePics View Post
If your new host won't do it for you then they are the wrong host to be moving to.

He is absolutely right.
__________________
-- 0% Financing Available -- No Credit Applications -- No Credit Checks -- 1 Year Domain Trade In Policy --

Alex Richards - ICQ #445801946 - sales @ seizethedomain . com

S6X.it/Adult URL Shortener l 24/7 Internet Radio l Hosting and IT l 2011 XBIZla Photos l NALEM
SeizeTheDomain is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 07:35 PM   #8
IllTestYourGirls
Ah My Balls
 
IllTestYourGirls's Avatar
 
Industry Role:
Join Date: Feb 2007
Location: Under the gold leaf ICQ 388-454-421
Posts: 14,311
Ive moved huge data bases from hosts. If your host isnt doing that doesnt say much for the host. Who is it?
__________________
IllTestYourGirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 07:44 PM   #9
TurboAngel
H.B.I.C.
 
TurboAngel's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: NC
Posts: 30,122
Quote:
Originally Posted by GirlsFreePics View Post
If your new host won't do it for you then they are the wrong host to be moving to.

TurboAngel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 08:34 PM   #10
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
Quote:
Originally Posted by bossku69 View Post
each box is with a different host.

I was told by the host where the database is at that they would prepare the file as a .tar or .gz file and I could use telnet or ssh to get the file... i have NO clue then what to do with it once its on the new server

The others are right this is probably going to be pretty difficult for you and you need some support.

Generally once you have the file on the server assuming it is a tar.gz archive and this is linux:

gunzip filename
tar xvf filename

then you have to import the database back into mysql on the new server.

Here's some basic help to get you started:

http://linuxcommand.org/
http://www.pixelbeat.org/cmdline.html
http://www.mysqltutorial.org/

Good luck.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-30-2009, 09:31 PM   #11
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
If your mysql version is the same and your OS is the same "flavour" (eg not moving from 32 to 64 bit) then you may just be able to copy the entire database directory, which will also preserve your user accounts and permissions. Make sure mysql is NOT running on either server when you do this.

Doing it this way will save time since mysql won't have to reinsert everything and build indexes on the fly. (How many rows you got in that table?)
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.