by Dan J
5 replies
Hi warriors,

Im not sure if this is the right thread to post but Im in urgent need of help/support. Basically to cut a long story short I have decided to change hosts but before actually doing so I backed up my folders via Filezilla, however the real problem came with the database. I could not find for love nor money where to download my database, so in the attempt to accessing the database via my cpanel, I changed the username and password so that I could alter the credentials..BIG MISTAKE!

There was me thinking that by doing that I might be able to access the database for my website, subsequently now there is a database error and my site is no longer live. All i get is "Error establishing a database connection". I have not got a clue on what to do now, i hear things about wp-config and stuff, but to be perfectly honest with you I do not have an ounce of direction on where to go! Since then I have tried changing the username back to what i think i might have been with no luck.

So there we have it, ive made a rookie mistake. If anyone has any ideas or experience in this situation, I would highly appreciate any help that may be given.

Thanks guys and girls

Dan
#urgent
  • Profile picture of the author David Ogden
    In your Cpanel go down to the Database area and find My PHP admin, this will give a listing of your databases and from here you can back up databases, using the export command. you can select as many of the databases as you wish but you may end up with large files.

    I suggest you start by selecting just one, export the data to your pc... then import it back again to see that it works.

    When you have a new host you will need to create a new database and import the data
    and yes you will need to do some changes to wp- config.

    you can also search on Google on how to move wordpress blogg to new host how to move wordpress blog to new host - Google Search

    Sorry I cant be more specific at this time
    Signature

    David Ogden an Entrepreneur at Markethive which uses a suite of free marketing tools to promote his opportunity. Contact:- Telegram @davidogden

    {{ DiscussionBoard.errors[4751327].message }}
  • Profile picture of the author Johnny Optimo
    all you need to back up your databases is to access phpMyAdmin and download them right from there

    I'm not sure what you've done now... lol, yeah... just change the username and pass back to what it was before and if you didn't do any other "newbie alterations" it should be fine.. and yeah, wp-config is where you specify your database credentials, so you can just enter your new username and pass there and it should work too
    {{ DiscussionBoard.errors[4751330].message }}
  • Profile picture of the author webapex
    Many hosts provide the not too user friendly utility: phpMyAdmin, here's something else.

    MySQL :: MySQL Administrator

    That can backup the database.


    Using FTP access or your host's file manager you might be able to edit the wp-config.php, if you can't fix it on the database side.

    Looks like you can change the database name and password there.

    Editing wp-config.php « WordPress Codex
    Signature

    “An expert is a person who has made all the mistakes that can be made in a very narrow field” Niels Bohr

    {{ DiscussionBoard.errors[4751335].message }}
  • Profile picture of the author sal64
    Sorry to be a pest, but how about the word PLEASE in your title thread.

    Lucky that so many are willing help.

    Sal
    Signature
    Internet Marketing: 20% Internet - 80% Marketing!
    You Won't See The Light Until You Open Your Eyes.
    {{ DiscussionBoard.errors[4751341].message }}
    • Profile picture of the author Dan J
      Originally Posted by sal64 View Post

      Sorry to be a pest, but how about the word PLEASE in your title thread.

      Lucky that so many are willing help.

      Sal
      The fact that I thanked and would appreciate help at the end of my post symbolizes some form of gratitude. And oddly enough I am grateful for the efficient and informative replies Ive received so please, if you have nothing to say that may help or relate to my thread, dont write anything at all.

      Nevertheless for those who have replied, I really really appreciate your assistance and giving me more clarity on what I need to do. Hopefully one day I can return the favor .

      Cheers.
      Signature
      Email Copywriter For Established Info Marketers
      I write emails people look forward to reading, clicking and buying from. To learn more, click here.
      {{ DiscussionBoard.errors[4751392].message }}

Trending Topics