home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Transfering Database

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2312
Discussions: 200,937, Posts: 2,379,255, Members: 246,302
Old July 18th, 2003, 03:14 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Jun 2003
Posts: 99
Transfering Database

I have recently moved servers and my forum is the best part of my site. I downloaded my database and tried to import it into my new database through php my admin and it ends up timing out or something and comes up with action canceled. The database is 20 megs big and I really need it to get to my new server or I lose everything good about my site.
SplitCo is offline   Reply With Quote
Old July 18th, 2003, 03:19 AM     #2 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,385
what kind of database are you coming from?
Are you using teh same kind of database on the way in?

Username/password ok?
Has permissions?

Mysql to mysql?
are you trying to import a file from a remote location?
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is offline   Reply With Quote
Old July 18th, 2003, 03:21 AM     #3 (permalink)
Member
 
Join Date: Jun 2003
Posts: 99
MySQL to MySQL. User and pass is all correct im doing it from my pc to my server not a personal server but from a host.
SplitCo is offline   Reply With Quote
Old July 18th, 2003, 03:28 AM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,385
Is the database file local, or is it already on the server?
MySQL services are started correctly?
There is disk space on the host server? (would hope so, or its a pretty crappy host!)
vass0922 is offline   Reply With Quote
Old July 18th, 2003, 03:32 AM     #5 (permalink)
Member
 
Join Date: Jun 2003
Posts: 99
Everything is running and ts local and yeah theres a ton of space left on it.
SplitCo is offline   Reply With Quote
Old July 18th, 2003, 03:52 AM     #6 (permalink)
Ultimate Member
 
Agent_Embryo's Avatar
 
Join Date: Oct 2001
Location: Sweden
Posts: 1,748
Send a message via ICQ to Agent_Embryo
I would try uploading it before importing it, if you haven't done that.
__________________
This is The SignatureŠ
www.ghostnail.com - my band.
Agent_Embryo is offline   Reply With Quote
Old July 18th, 2003, 04:00 AM     #7 (permalink)
Member
 
Join Date: Jun 2003
Posts: 99
I wouldnt know how I think... I downloaded it from one host and and want to put it on another host. I made a database and its emtpy and theres that option where I can locate a sql file and upload it or something thats what Im trying to do or is there some other way to do it?
SplitCo is offline   Reply With Quote
Old July 18th, 2003, 04:38 AM     #8 (permalink)
Ultimate Member
 
Praetorian's Avatar
 
Join Date: Oct 2001
Location: Arizona
Posts: 2,538
Figure out where your home dir is on the box..and run this SQL query.

source /path/to/home/dir/filename.sql <-- Exported file.

You should be able to run that from your nice SQL query whitebox in phpMyAdmin.

Last edited by Praetorian : July 18th, 2003 at 04:41 AM.
Praetorian is offline   Reply With Quote
Old July 18th, 2003, 05:27 AM     #9 (permalink)
Member
 
Join Date: Jun 2003
Posts: 99
It came up with an error. A syntax error within the file at line one.

Last edited by SplitCo : July 18th, 2003 at 05:32 AM.
SplitCo is offline   Reply With Quote
Old July 18th, 2003, 11:44 AM     #10 (permalink)
Ultimate Member
 
Praetorian's Avatar
 
Join Date: Oct 2001
Location: Arizona
Posts: 2,538
You only typed what i put in bold, right? You may have to terminate the line with a semi-colon ";".
Praetorian is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2908)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Wireless Televisions. (8)
California Passes Anti-Flat-HDTV Le.. (43)
Obama the Muslim (14)
Is the PSU I received dead? (11)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Recent Discussions
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Have you switched yet? (85)
Regular Build (4)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
Wireless Televisions. (8)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Fire in DVD (2)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)


All times are GMT -4. The time now is 01:08 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



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