• I bought a website at auction (freezerguru.com).

    It was transferred from the previous owner’s GoDaddy account to my GoDaddy account.

    I see the domain in my GoDaddy account now.

    However, the website says “Error establishing a database connection”.

    From my understanding I think I need to migrate the server (containing all the website content) to my own hosting account.

    Any advice on where to start with this?

    • This topic was modified 4 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • This is because WordPress was not able to connect with Database.
    You have to do some changes in wp-config.php file, you will find this file in the root directory of your website.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', '[your_db_name]' );
    
    /** MySQL database username */
    define( 'DB_USER', '[your_db_user]' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD', '[your_db_password]' );
    
    /** MySQL hostname */
    define( 'DB_HOST', '[your_db_host]' );

    swap out [your_db_name] with the database name you have, [your_db_user] with your database user and so on.

    If you don’t know the details you can ask your Hosting provider for the Database details.

    I hope this is helpful.

Viewing 1 replies (of 1 total)

The topic ‘Problems migrating a website’ is closed to new replies.