![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banananananas
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | ||
So Fucking Banananananas
Industry Role:
Join Date: Mar 2003
Location: If I was in your ass you'd know it
Posts: 12,991
|
Quote:
Quote:
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 |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Dec 2002
Posts: 2,057
|
Quote:
![]() ![]()
__________________
[email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
partners.sexier.com
Industry Role:
Join Date: Jan 2007
Location: San Francisco, CA
Posts: 11,926
|
help for you...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Aug 2008
Location: FL and CA
Posts: 753
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Ah My Balls
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?
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
H.B.I.C.
Industry Role:
Join Date: Jun 2003
Location: NC
Posts: 30,122
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Industry Role:
Join Date: Aug 2007
Posts: 6,697
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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?) |
![]() |
![]() ![]() ![]() ![]() ![]() |