Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Software & Tech » Domains, Hosting and Servers » Moving database files to another server
 
 
LinkBack
Old 02-21-2008, 07:15 PM   #1
tsg
Lurker
 
Join Date: Feb 2008
Posts: 2
tsg is on a distinguished road
Moving database files to another server

I have everything moved over from one server to the next aside from my 400-something posts and my members. How do I move them over? I am using 1and1.com. They're pretty decent and I have access to phpMyAdmin.

I have tried exporting the database files from my other server and then importing them into the new one (not sure if that's what I needed to do or not) and this is the error I get...

SQL query:

-- phpMyAdmin SQL Dump
-- version 2.6.4-pl3
-- http://www.phpmyadmin.net
--
-- Host: db0000.perfora.net
-- Generation Time: Feb 21, 2008 at 12:56 PM
-- Server version: 5.0.51
-- PHP Version: 4.3.10-200.schlund.1
--
-- Database: `db228880000`
--
CREATE DATABASE `db228880000` DEFAULT CHARACTER SET latin1 COLLATE latin1_german2_ci

MySQL Said:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARACTER SET latin1 COLLATE latin1_german2_ci' at line

Last edited by tsg; 02-21-2008 at 07:30 PM. Reason: Adding error report
tsg is offline  
Old 02-22-2008, 07:04 PM   #2
tsg
Lurker
 
Join Date: Feb 2008
Posts: 2
tsg is on a distinguished road
I am in desperate need of a solution by this weekend. If anyone has even an idea of what I might be able to do, I would be very grateful.
tsg is offline  
Old 02-24-2008, 10:24 PM   #3
Member
 
Join Date: Dec 2007
Location: Ringgold, GA
Posts: 136
AirborneKim has a spectacular aura aboutAirborneKim has a spectacular aura about
Send a message via AIM to AirborneKim Send a message via MSN to AirborneKim
How large is the database? Do you happen to have access to SSH to prepare a proper dump of the database SQL?

Feel free to PM me if you're still having issues.
__________________
-
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Simplified Web Hosting

- First Month is 100% Free - 60 Day Money Back Guarantee
- 99.99% Network & Server Uptime Guarantee
AirborneKim is offline  
Old 02-25-2008, 04:25 PM   #4
...

 
Ashley's Avatar
 
Join Date: Jan 2006
Location: Devon, United Kingdom
Posts: 1,017
Ashley is a splendid one to beholdAshley is a splendid one to beholdAshley is a splendid one to beholdAshley is a splendid one to beholdAshley is a splendid one to beholdAshley is a splendid one to beholdAshley is a splendid one to beholdAshley is a splendid one to behold
Just to let you know - the maximum database size you can have with 1&1 is 100MB. If you're moving to them, and the database is over 100mb, then there will be problems.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Ashley is offline  
Old 05-23-2008, 08:46 PM   #5
Rookie
 
Join Date: May 2008
Posts: 18
ERUPT is on a distinguished road
Try doing a dump from shell as previously recommended, and report back.
ERUPT is offline  
Old 06-03-2008, 12:09 AM   #6
Rookie
 
Join Date: May 2008
Posts: 25
babadorie is on a distinguished road
If you are using Cpanel, create the database. Do not add tables, just import the database from your old server. What you do is, save the database from your old server to your PC and then use the import future to import the tables and data. You should do this via phpadmin. Make sure the database is empty before doing the import if not you will get error message.
__________________
Web Hosting Resources
Find Your Perfect host

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
babadorie is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

AdminFusion

All times are GMT +1. The time now is 05:33 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76