User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 402,613 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,305 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums

Export and Import of database errors, please advise.

Join Date: Feb 2008
Posts: 35
Reputation: Kraai is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
Kraai's Avatar
Kraai Kraai is offline Offline
Light Poster

Export and Import of database errors, please advise.

  #1  
May 15th, 2008
I am helping a website owner to transfer a site to new servers. All site files have been uploaded onto the new server, only thing left is the database.

In phpmyadmin, when I try to export the DATABASE to my local PC, using zip or gzip to compress, as this is a large database, the file doesn't want to uncompress on my local pc, I get an error message that it may be corrupt?

Then I exported the database without compressing it, and it downloaded without any problems.

As I am realy very novice in this, and only have a basic knowledge how to import this database from my local PC to the new server, using phpmyadmin, the first problem was that phpmyadmin only allows 51 mb to import this way, and this database is about 90 mb. I am very unlitterate in doing command line queries to do this import, so I contacted the support of the new host to help out, and they said I can upload the database via ftp to the server, and they wil install it from there.

I then uploaded the uncompressed .sql text file to a folder, via ftp, using binary mode.

When the host tried to install it, they got an error message in the syntax at a certain line, and asked me to correct it. I have no idea how to, as this database is just what came from the old server, nothing changed to it.

Is there any help or hope for me on this one?

Edit:

The full error message the host got was:

[root@cayenne /home/kletsker/mysqldump]# mysql kletsker_kletskerk < localhost.sql ERROR 1064 (42000) at line 89499: 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 ''[quote=&quot;Barend&quot;:3v' at line 1
Last edited by Kraai : May 15th, 2008 at 4:20 am. Reason: adding information
I left my hotdog somewhere, If you find it, feed it please, or better feed yourself!!
Webhostig and ISP Solutions in ZA
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 12:45 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC