1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

DB problem - Want to move my site from Economy Hosting to Deluxe Hosting - GoDaddy

Discussion in 'Outages' started by samsonthomas, Jun 15, 2010.

  1. #1
    Can anyone help me out on this?

    I have two sites (both WP blogs) - one is hosted on the economy plan with Go daddy

    and the other one is hosted with the deluxe plan also on Go daddy.

    Now I want to cancel the economy plan and merge both the sites on the deluxe plan.....

    This is what I did:

    1. I downloaded all the files from the Eco Hosting plan website through FTP
    2. I created a new folder in my deluxe hosting plan and uploaded all my files to that folder
    3. Next, I went ahead and cancelled the eco hosting plan
    4. I added the domain to the deluxe hosting plan and redirected it to the folder newly created


    Now, comes the problem. When I type in the domain name, it flashed the error message.... Error in connecting to database...

    I know I have done something wrong here... But now I can't figure out how to set it right...

    Can anyone help me out on this? Thanks...........:D
     
    samsonthomas, Jun 15, 2010 IP
  2. ARTidas

    ARTidas Active Member

    Messages:
    177
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Have you modified the hostname at the SQL connection?

    Cheers,
     
    ARTidas, Jun 15, 2010 IP
  3. samsonthomas

    samsonthomas Member

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    46
    #3
    No, what is that and how do I do it?
     
    samsonthomas, Jun 15, 2010 IP
  4. rmvalues

    rmvalues Well-Known Member

    Messages:
    326
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #4
    if you don't modify it, then the script will try to connect back to previous mysql account, so it won't work.
    edit your config (mostly) php file to your current hostname.
     
    rmvalues, Jun 15, 2010 IP
  5. anands

    anands Well-Known Member

    Messages:
    436
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #5
    Usually the host will be defined as localhost in WP blogs, so that will not be the one that is affecting you. You need to get professional assistance. Some more information would be easy to help.

    1) if you have altered the path, have you change the path to the website in the config file?
    2) is the permission settings of the config file correct?
     
    anands, Jun 17, 2010 IP
  6. vServer Center

    vServer Center Active Member

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    58
    #6
    WordPress uses MySQL databases. In additional to download files, you also need to export and import databases. When you migrate WordPress sites, the hardest part is to migrate the databases over. This is easy to do if you use a web hosting control panel such as cPanel or DirectAdmin.
     
    vServer Center, Sep 28, 2011 IP