Transfer mysql database server to server

Discussion in 'MySQL' started by PinoyIto, Dec 15, 2005.

  1. #1
    Is there a way to transfer mysql database from other server to new server with out exporting the database to local machine then import it to new server.
     
    PinoyIto, Dec 15, 2005 IP
  2. frankm

    frankm Active Member

    Messages:
    915
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    83
    #2
    you could set up a master - slave thing. but then the master would have open sockets to the world, probably something you don't want.

    do you got shell access to both?
     
    frankm, Dec 15, 2005 IP
  3. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    is the destination's mysql server is the same version as the sorce..if yes you can just scp the data directory to the destination data directory then ensured that the ownership is correct..then try restarting the mysql server and you will all be good..
     
    theblight, Nov 30, 2006 IP