Closed Thread
Results 1 to 10 of 10

Thread: Local SQL database transfer

  1. #1
    nzitguy is offline x10Hosting Member nzitguy is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    22

    Red face Local SQL database transfer

    Hi All,
    Not sure if this is the right place to ask this question, so please advise if I have posted in the wrong location...

    to the question:

    does anyone have any tips or ideas on a quick way to restore a SQL database from my local web-server to its on-line counter part?

  2. #2
    jmcgowan's Avatar
    jmcgowan is offline x10 Sophmore jmcgowan is an unknown quantity at this point
    Join Date
    May 2009
    Posts
    132

    Re: Local SQL database transfer

    it mostly depends on what front-end you're using to manage your database. If you're using phpMyAdmin to manage it, one of the tabs up top says 'export' and another says 'import'. You can use those tabs to export the database from your local web-server and import it to your online counter part.
    Silent Soldiers - A Home For Military Families
    Silent Soldiers Blog - A Blog For Military Families

  3. #3
    nzitguy is offline x10Hosting Member nzitguy is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    22

    Re: Local SQL database transfer

    Quote Originally Posted by jmcgowan View Post
    it mostly depends on what front-end you're using to manage your database. If you're using phpMyAdmin to manage it, one of the tabs up top says 'export' and another says 'import'. You can use those tabs to export the database from your local web-server and import it to your online counter part.

    Yep, on to it now, many many thanks for your help

  4. #4
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Re: Local SQL database transfer

    ah,
    so thats what import / export does... go figure.

    Sorry I could not resist.

    I have run into problems several times when importing larger than about 5 mb, especially with the query but I found a really neat program called navicat.

    Makes backups and 'shuffling data around' really easy and because it is not depending on either the memory in the browser from the 'huge' clipboard paste it does not white out and crash.

    Also if you are using cpanel and have downloaded a backup called say 'database1' and you want to replace 'database2' with it you can just rename it and use the restore feature.

  5. #5
    nzitguy is offline x10Hosting Member nzitguy is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    22

    Thumbs up Re: Local SQL database transfer

    that's really neat, many thanks for the info, ill give that go.

  6. #6
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,504

    Re: Local SQL database transfer

    Quote Originally Posted by allofus View Post
    I have run into problems several times when importing larger than about 5 mb
    In phpMyAdmin, you can choose to export only certain databases to cut down on file size. You can also edit an SQL file and split it between statements. Still more steps than if you can use a non-web app, but if you want to work with a remote DB that doesn't allow network connections, it's useful.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  7. #7
    nzitguy is offline x10Hosting Member nzitguy is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    22

    Cool Re: Local SQL database transfer

    Thanks for your help all.

    Would the below be correct?

    http://codex.wordpress.org/Backing_Up_Your_Database

    Just want to make sure that if i enter all this stuff into my database and backup with the above process i can completely restore everything i need to.

  8. #8
    nzitguy is offline x10Hosting Member nzitguy is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    22

    Thumbs up Re: Local SQL database transfer

    Quote Originally Posted by nzitguy View Post
    Thanks for your help all.

    Would the below be correct?

    http://codex.wordpress.org/Backing_Up_Your_Database

    Just want to make sure that if i enter all this stuff into my database and backup with the above process i can completely restore everything i need to.

    Any SQL people like to confirm the above is okay for backup of the database?:dunno:

  9. #9
    nzitguy is offline x10Hosting Member nzitguy is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    22

    Thumbs up Re: Local SQL database transfer

    Well, tested the process and it seems to work, so anyone else in the same boat, please give the above link a go.:naughty:

  10. #10
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,504

    Re: Local SQL database transfer

    Quote Originally Posted by nzitguy View Post
    The phpMyAdmin section uses an old version, but otherwise looks alright.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

Closed Thread

Similar Threads

  1. Need Help To Reset SQL Database to 3
    By shutlanz in forum Free Hosting
    Replies: 2
    Last Post: 11-09-2008, 12:40 PM
  2. Transferring SQL Database
    By Cavanaugh Corporation in forum Free Hosting
    Replies: 0
    Last Post: 08-16-2008, 07:50 PM
  3. sql database does not restore
    By softwork in forum Free Hosting
    Replies: 3
    Last Post: 05-20-2008, 06:47 AM
  4. SQL Database location?
    By martynball in forum Programming Help
    Replies: 4
    Last Post: 05-15-2008, 12:20 PM
  5. Database links to back end on SQL
    By slinky in forum Free Hosting
    Replies: 1
    Last Post: 11-06-2007, 08:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers