Issue about vBulletin MySQL backup

Discussion in 'MySQL' started by campolar, Jul 4, 2008.

  1. #1
    I have a backup of my vbulletin website, i am trying to use the backup on another site with a different domain, so when i tried to open my new site it tries to contact the old domain which is down. What should i edit in the backup so that the backup would run under a new domain?
     
    campolar, Jul 4, 2008 IP
  2. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #2
    you should edit the config.php file, as well the settings in your DB to reflect your current URL.
    Just search the DP for the old URL, then you'll find the places you need to change
     
    Brandon Sheley, Jul 4, 2008 IP
  3. campolar

    campolar Peon

    Messages:
    2,683
    Likes Received:
    244
    Best Answers:
    0
    Trophy Points:
    0
    #3
    so i should change all the same urls i can find?
     
    campolar, Jul 4, 2008 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    You will need to change all the instance of your old site to new site in your configuration file as well as in your database.
     
    kailash, Jul 4, 2008 IP
  5. campolar

    campolar Peon

    Messages:
    2,683
    Likes Received:
    244
    Best Answers:
    0
    Trophy Points:
    0
    #5
    how do i edit my database? i mean in phpMyAdmin bcz its too big and i dont wanna edit the SQL file and upload it again :D
     
    campolar, Jul 4, 2008 IP
  6. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #6
    If you do not want to change the data in Database directly then you can change your site URL from your old web site's admincp. Login to your old web site's (using your old web site name) admincp and change the website URL. Hope it will fix your problem.
     
    kailash, Jul 4, 2008 IP
  7. campolar

    campolar Peon

    Messages:
    2,683
    Likes Received:
    244
    Best Answers:
    0
    Trophy Points:
    0
    #7
    hmm cool idea...surely will try it and let u know
     
    campolar, Jul 5, 2008 IP
  8. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #8
    you can search in myphpadmin

    just search for "youroldurl.com" and replace it.
     
    Brandon Sheley, Jul 5, 2008 IP
  9. campolar

    campolar Peon

    Messages:
    2,683
    Likes Received:
    244
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i cant understand how to edit in phpmyadmin...i edit it and then when i comeback to it, its back to the old like...
     
    campolar, Jul 6, 2008 IP
  10. campolar

    campolar Peon

    Messages:
    2,683
    Likes Received:
    244
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks everyone....Kailash helped me out via PMs :)
     
    campolar, Jul 20, 2008 IP