#1 (permalink)  
Old 06-07-2009, 03:01 AM
Registered User
 
Join Date: Aug 2008
Posts: 13
bhanuprasad1981 is on a distinguished road
Cool need help importing large 1gb db :(

i got a new client , he wants me to transfer site manually i copied files to new account issue is with Db he gave me a dump of mysql as it is very large 1gb+ in size i copied it to my server and tried import using ssh but it is stopping at 229 mb with error :-

Column count doesn't match value count at row 2589


please help me to solve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-07-2009, 07:33 AM
Registered User
 
Join Date: Nov 2008
Posts: 76
hzJayJ is on a distinguished road
Hi,

The error specifies that the number of fields and the number of values are different to which you are trying to restore the dump. Try recreating the database and try restoring the .sql file.
__________________
Regards,
Jay J,
HostingZoom | ResellerZoom |
modVPS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-07-2009, 07:48 AM
Registered User
 
Join Date: Aug 2008
Posts: 13
bhanuprasad1981 is on a distinguished road
Cool

tried more than eight times
1. delete data base
2. create date base
3. try to import
4. see same error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-07-2009, 10:19 AM
cPanelEricE's Avatar
cPanel Staff (Administrator)
 
Join Date: Nov 2007
Location: Texas
Posts: 170
cPanelEricE is on a distinguished road
It sounds like the database file might be messed up in some regard. The only other thing I could think of is if the backup is from a 4.1 or newer and you're running mysql 4.0 or older (which is unlikely).
__________________
--Eric(E)

Using Enkompass compared to cPanel is like going to a MacDonald’s in France, sure they’ve got the same things we have over here, but it’s a little different.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-07-2009, 10:51 AM
Registered User
 
Join Date: Jul 2006
Posts: 184
ChrisRHS is on a distinguished road
For importing large DB's, its best to use the command line:

mysql dbname < /path/to/file.sql -u user --password=pass
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-07-2009, 11:14 PM
Registered User
 
Join Date: Aug 2008
Posts: 13
bhanuprasad1981 is on a distinguished road
Cool

Quote:
Originally Posted by cpanelerice View Post
It sounds like the database file might be messed up in some regard. The only other thing I could think of is if the backup is from a 4.1 or newer and you're running mysql 4.0 or older (which is unlikely).

sorry but present version of mysql on my server si :- 5.0.77-community
i have no knowledge of the version dump sql is
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-08-2009, 08:26 PM
cPanelEricE's Avatar
cPanel Staff (Administrator)
 
Join Date: Nov 2007
Location: Texas
Posts: 170
cPanelEricE is on a distinguished road
Have you tried importing it to another mysql server? Give it a go on anything else to see if the dump file is bad. (which is what I think it is, personally) Even if you have to install mysql on your desktop to test it out. MySQL rinses clean with a reboot.
__________________
--Eric(E)

Using Enkompass compared to cPanel is like going to a MacDonald’s in France, sure they’ve got the same things we have over here, but it’s a little different.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Several files over 1GB in my /var - What are they? jasgot cPanel and WHM Discussions 4 03-13-2008 08:30 AM
Importing large MYSQL database greenchicken cPanel Newbies 3 04-26-2006 09:41 PM
Mysql error importing large db Don7t cPanel Newbies 2 01-10-2005 10:09 PM
Logs - How large is large? tntmom5 cPanel and WHM Discussions 0 02-25-2004 11:29 PM


All times are GMT -5. The time now is 05:19 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc