MySQL Database problem while shifting to new VPS

Discussion in 'MySQL' started by latesthub, Aug 6, 2011.

  1. #1
    Hello guys,
    I was shifting my website to new vps.I transferred all the files from my old server to the new one.Before importing database .I tried to check the server through my ip, the error message appeared "" unable to connect with database " that means wordpress and apache works fine on my server.
    But when i import the orginal database from the previous VPS to new one, wordpress stops working and gives out this error :

    "Remote server or file not found "

    I dont know,where i am going wrong.. please can anyone help me shifting my site. :) .. if you solved this problem i will give a link of his website to my pr2 website http://latesthub.com for free.
     
    latesthub, Aug 6, 2011 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #2
    It looks like the problem is solved. If you are still facing the problem, let me know. Most probably it is connection file issue.
     
    mwasif, Aug 6, 2011 IP
  3. latesthub

    latesthub Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No, mwasif my site is still in the previous server, i tried to shift my site to new server... but was unsuccessfull. I was just waiting for someone who can help me. :)
    I transferred all my wordpress file to root folder, updated the database , but when i tried to access it with my ip.. it gave this error :
    "Remote server or file not found"

    i also tried to install the fresh installation of wordpress before shifting my site and it was working fine.I think there is some error in my sites database. and i dont know what's the problem.

    My site was crashed 4 times in july and i lost all my rankings, due to crashes after every 9 or 10 days i decided to shift the server .Hope you can help me.

    My previous server was centos
    and i have a cloud server now with all the options of os..including windows,centos,fedora,ubuntu etc.
     
    latesthub, Aug 7, 2011 IP
  4. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #4
    Send me your DB connection file with the new database host, username and password.
     
    mwasif, Aug 7, 2011 IP
  5. latesthub

    latesthub Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ok i will send you username and passwords .. soon into your inbox
     
    latesthub, Aug 7, 2011 IP