I am moving hosts and I had my database on the existing host dumped and I then uploaded it to the root of my server to import it.
1st) the db is 585MB or so. I just realized that my attachment table alone is 560MB.
2nd) When I try to import on my current host, I get errors:
The (new) host then said:
So I contacted the old host and they said:
and then said:
So I logged into the vb on the current host (running V3.5.0 RC1, which all is working fine btw, from everything I can observe) and ran repair/optimize. When doing that, this is the only error I receive:
HELP!
1st) the db is 585MB or so. I just realized that my attachment table alone is 560MB.
2nd) When I try to import on my current host, I get errors:
[[email protected] mysql]# mysql socnetce_socnet_vb < /home/socnetce/socnet_vb.sql ERROR at line 35721:
The database is not dumped correctly.It appears that you have dumped the database through PHpMyAdmin.If you have shell access on the anohter host you can try to import the database with the mysqldump command that is efficent.
Not true - I dumped it through the shell - mysqldump command. I will try again... Although I wonder if it's a content issue - I remember having some trouble when I transferred the DB from server to server.
I will see if I can do it again.
I will see if I can do it again.
Just tried the dump again, and it error'd out on Attachments... So the DB is corrupt. You should look into the VB on the server and see if you can fix it ... Maybe even clearing out the attachments prior to a certain date or something.
attachmentviews Check Error: Can't find file: 'attachmentviews.MYD' (errno: 2)
Comment