|
#1
|
|||
|
|||
|
I do believe my database (a forum database from my previous server) is too large to restore with phpMyAdmin - it's about 76MB (it's got about 29,000 posts and a lot of mods). So I'm trying it with cPanel... I did the Backup/Restore with cPanel tutorial and I've gotten to the page that shows the little up arrow and the words "Restoring Database", but no tables or anything show up (in the tutorial, it shows someone restoring their site and a bunch of filenames show up as being successfully restored).
I'm also surfing phpMyAdmin and I see the database there, but it's empty. Is it just a matter of a large file taking a really long time, or is the file too big for the system? I've heard there are ways to break down large databases into smaller files, but I'm not sure how I'd go about doing this... I tried copying and pasting sections at a time (in order) into my current database but after I'd been working for three hours and only completed 5% of the database by copying and pasting, I decided just to try to restore the whole file at once. I really don't know if it's working, though. I am really baffled as to the best way to go about doing this... I would really appreciate if someone could give me some advice! Thank you
|
|
#2
|
||||
|
||||
|
Upload your large database in sql format to your public_html folder
Once done email us your domain, username, password, your database name you have created, and the file name you have uploaded to public_html file name should be something.sql We can then dump it in for you.
__________________
Gators love marshmallows. |
|
#3
|
|||
|
|||
|
Oh, goodness me. I am so terrible at this... I keep posting problems here and then solving them, and forgetting to follow up or delete my thread *blushes furiously* I am so sorry for the trouble - I've gotten everything straightened out, though. I backed up tables in the database individually and then broke down the ones that needed it, and my forum is up and running currently. Again, I am VERY sorry for the trouble!!! Thank you for your generosity, though, I think you are an excellent host
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
||||
|
||||
|
Quote:
Quote:
|
|
#6
|
|||
|
|||
|
Hello,
Had the same problem on an other host, much less user friendly as HG. I used the attached script doing the import automacally per sizeable pieces, gz, or not, uses also FTP and have a drop. Basically PHP. Runs like a simple GUI. Works fine for me in IE6 and Firefox2. BigDump http://www.hotscripts.com/jump.php?l...22&jump_type=1 |
|
#7
|
|||
|
|||
|
Thanks for this link I might be running into the same problem soon.
Will check it out later. |
|
#8
|
|||
|
|||
|
Quote:
Does this mean that all my config files have to be changed? |
|
#9
|
||||
|
||||
|
Quote:
__________________
best regards, George |
|
#10
|
|||
|
|||
|
So I need to set-up a new database in cpanel, import in phpmyadmin and then change all config files.
What is the database password? is it the one I set up for the user? Last edited by debrag; 11-21-2007 at 09:51 AM. |
|
#11
|
|||
|
|||
|
Quote:
|
|
#12
|
|||
|
|||
|
so
database created = database name: 142323_gallery user created = user name: 142323_gallery1 user password: 142323_password config = dbserver: 'localhost' dbuser: '142323_gallery1' dbpass: '142323_password' dbname: '142323_gallery' would that config be a correct example? Sorry for all the questions, I just don't want to lose things with the transfer |
|
#13
|
|||
|
|||
|
Quote:
Everything else looks fine
|
|
#14
|
|||
|
|||
|
thanks hopefully by tomorrow my site will be transfered & up and running
|
|
#15
|
||||
|
||||
|
Quote:
__________________
~dix |
|
#16
|
||||
|
||||
|
And if it is a large database, you will need to get HG to import it for you! Or use some third party tools to do it, if you want to do it yourself.
__________________
best regards, George |
|
#17
|
|||
|
|||
|
Quote:
So what kind of program I can use to upload database? Working with 2mb+ databases. 20+ separate databases. Will be a hastle to email HG every time we need to upload a database. Restore database form Cpanel doesn't work at all.. get stucked with same massage "Restoring Database".. PLEASE ANY ADVICE! Ready to move to another host if it's not gonna work out with HG.... ![]() ![]()
|
|
#18
|
|||
|
|||
|
A FTP client, like FileZilla (free) or many others.
That's not big at all. Quote:
Also, rather than dragging up such an old post, best to start a new thread.
__________________
- David Folding@Home Stats : |
|
#19
|
|||
|
|||
|
I would like to learn to do this myself via... cPanel > Backups > Restore a MySQL Database. Is there an Up-to-Date tutorial somewhere. I can't seem to find one.
thanks,
__________________
Ken Not that kind of toasted
|
|
#20
|
|||
|
|||
![]() Quote:
Anyway. I belive phpMyAdmin got 2mb limit on database import...no? |
|
#21
|
||||
|
||||
|
Quote:
It's 51200 kB.
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#22
|
|||
|
|||
|
I use the BigDump script the person in post #6 mentioned (really large forums).
One word of warning, though: if your database is UTF-8, you must change one line in bigdump.php (see below). Looks like the default collation here at HG is set to utf8_unicode_ci, which is nicer for those of us that use UTF-8. By forcing it in the script, I don't have to worry what the host is defaulted to. Other hosts I've seen defaulted to one of the ISO LATIN collations, which mangles UTF-8. $db_connection_char_set = 'utf8'; |
|
#23
|
|||
|
|||
|
Quote:
I've been searching for a script for a long time and it was right under my nose basically! |
|
#24
|
||||
|
||||
|
afaikIwin, please remove the hidden image/link from your signature. You are allowed to use visible images and links there.
Your quoted text also includes a hidden image/link that was in the (removed) post you quote. Is it just a coincidence that both involve the same Gator smiley?
__________________
Hosting term analogies, revised and improved (?) |
|
#25
|
||||
|
||||
|
I suspect we may soon see a couple of new members in the Banned User group.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Uploading MySQL database | daveway | Pre-Sales Questions | 6 | 04-21-2004 03:49 PM |