Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 16
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 16
Let me explain this better and add a bit of history so as not to confuse.

Originally...I was going to use phpmyadmin to execute a database dump from my old server and ftp the .sql file to my new server and then use phpmyadmin to import that file.

I was able to dump successfully with phpmyadmin. But I cannot import the file with phpmyadmin because the browser times out. Probably due to the file size about 15 meg.

So I followed the advice here by using mysql to do a dump and import from the mysql prompt. Well the syntax looks plenty easy enough but I keep getting syntax errors. I swear Im following it verbatim so I have no idea what Im doing wrong. Once again Im using terminal services to logon to my windows 2000 server not ssh or telnet but that shouldnt make any difference. I just fire up ms dos and change directory to c:\mysql\bin and type mysql to get a mysql prompt.

From the mysql> I type in:
mysqldump -u myusername -p mydatabasename > mydatabasename.sql
and get this arrow: [:"red"]-->[/]

So then I figure its waiting for a semi colon and I add that and get an sql syntax error. I never get to the point where it asks for a password because of the syntax error.

I must be typing something wrong.

Last edited by hougie2; 06/23/2002 9:20 PM.
Sponsored Links
Entire Thread
Subject Posted By Posted
Need help importing mysql data into ubbthreads hougie2 06/19/2002 6:09 PM
Re: Need help importing mysql data into ubbthreads MattyJ 06/19/2002 7:33 PM
Re: Need help importing mysql data into ubbthreads hougie2 06/23/2002 10:14 PM
Re: Need help importing mysql data into ubbthreads Dave_L_dup1 06/24/2002 12:56 AM
Re: Need help importing mysql data into ubbthreads hougie2 06/24/2002 4:10 AM
Re: Need help importing mysql data into ubbthreads Dave_L_dup1 06/24/2002 4:22 AM
Re: Need help importing mysql data into ubbthreads hougie2 06/24/2002 5:46 AM
Re: Need help importing mysql data into ubbthreads Dave_L_dup1 06/24/2002 7:06 AM
Re: Need help importing mysql data into ubbthreads hougie2 06/24/2002 2:59 PM
Re: Need help importing mysql data into ubbthreads hougie2 06/24/2002 5:43 PM
Re: Need help importing mysql data into ubbthreads hougie2 06/24/2002 6:30 PM
Re: Need help importing mysql data into ubbthreads Lisa_P 06/25/2002 5:04 PM
Re: Need help importing mysql data into ubbthreads hougie2 06/26/2002 8:43 PM
Re: Need help importing mysql data into ubbthreads Dave_L_dup1 06/26/2002 10:53 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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)