Moving databse to a different url, please help

Discussion in 'Programming' started by pavelbarchuk, May 8, 2009.

  1. #1
    I have a php script ona website, i want to clone it for a different website and have all the settings saved, so if i copy the Mysql database and the files to a different website/server with a different urr. Is it possible or will there be too many modifications to do later?
     
    pavelbarchuk, May 8, 2009 IP
  2. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Ok! How many tables you have in your database, just browse through them and see anywhere your old site name is existing just replace it.

    Got any problem then pm me.
     
    alfa_375, May 9, 2009 IP
  3. jerrywijaya

    jerrywijaya Banned

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    for php script, just compress it to zip file, and then extract at new server. for mysql database, just dump it at current server, and compress it, and then unzip it to new server and load it to new database.
     
    jerrywijaya, May 9, 2009 IP
  4. monster64

    monster64 Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should search the database with a query or some kind of db manager for partial matches of the current url. One example of a site this needs to be done for is vbulletin because of the cookies and sessions it uses.
     
    monster64, May 11, 2009 IP