Results 1 to 5 of 5

Restoring a database

This is a discussion on Restoring a database within the Forum Management forums, part of the Webmaster Discussion category; I’m trying to restore a database for a phpbb forum. I cant do it through phpMyAdmin because it is too ...

  1. #1
    Coder
    Join Date
    Dec 2006
    Posts
    37
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Restoring a database

    I’m trying to restore a database for a phpbb forum. I cant do it through phpMyAdmin because it is too large and times out. I’ve found a tool called bigdump.php and that seems to work but for one problem. If it encounters a fada on a letter in the database it stops, Then I have to edit the word in the database manually and try again.

    Anyone know of another tool like bigdump.php that can do this for me or is it something I’ll just have to work around.

  2. #2
    Cormac Moylan Cormac's Avatar
    Join Date
    Jan 2006
    Location
    Cork
    Posts
    1,262
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have used bigdump and I think i encountered the same problem as yourself. What charsets are you using? Make sure you're using the one that relates to the charset of your db in its original state when exporting.

  3. #3
    kae
    kae is offline
    Byte Wrangler kae's Avatar
    Join Date
    Sep 2006
    Location
    monaghan
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    assuming it's MySQL that you're talking about, all you need to do is use the console-based "mysqldump" application to grab the dump, and "mysql" to install the dump.

    mysqldump -uusername -ppassword dbname -hhostname > dump.sql
    mysql -uusername -ppassword dbname -hhostname < dump.sql

    if you find there are timeout issues, then upload the file to the server, and either run the "mysql" line above yourself, or ask your ISP to run it, if you don't have ssh access.

  4. #4
    Coder
    Join Date
    Dec 2006
    Posts
    37
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the help guys,
    I was able to import it by changing the charset like rollo said. That bigdump.php turns out to be very handy for people like me who are not familiar with ssh

    Thanks again Rollo

  5. #5
    Cormac Moylan Cormac's Avatar
    Join Date
    Jan 2006
    Location
    Cork
    Posts
    1,262
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No problem James

Similar Threads

  1. phpmyadmin database dump tutorial ?
    By patrickm in forum Webmaster Discussion
    Replies: 5
    Last Post: 13-01-2009, 07:48 PM
  2. recomend IP to Alpha2 and dialing code database
    By CiaranR in forum Webmaster Discussion
    Replies: 2
    Last Post: 27-01-2007, 02:40 PM
  3. How many scripts on one database?
    By ButtermilkJack in forum Webmaster Discussion
    Replies: 4
    Last Post: 17-04-2006, 02:13 PM

Visitors found this page by searching for:

http:www.irishwebmasterforum.comforum-management1217-restoring-a-database.html

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79