SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Auto import data from localhost to webhost

  1. #1
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Auto import data from localhost to webhost

    How to import data from local server to web server's database. Please help me anyone.

  2. #2
    SQL Consultant silver trophybronze trophy
    SitePoint Award Recipient r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    38,462
    Mentioned
    35 Post(s)
    Tagged
    1 Thread(s)
    use mysqldump (or equivalent) to dump the data, then run the .sql file into the web server's database
    r937.com | rudy.ca | Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But its a manual process. I want to do this automatically. Do you have any suggestion.

  4. #4
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    1,863
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Are you looking to set up replication from one machine to another (changes are made to both servers at the same time), or do you want one push of a button for this to happen?
    <?php
    //Kyle Wolfe
    echo devBlog("My Dev Notes");

Bookmarks

Posting Permissions

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