• Resolved leslielaas

    (@leslielaas)


    I forwarded my old domain to a new domain. I was able to see the website but not sign in so I changed the names in my wp-config.php file to the new name, changed the passwords in my sql database and got everything listed with the new domain name. Now I get an error cannot connect to database. I’ve restored the database from a previous backup and I’m trying to do the same to the wordpress but it won’t connect from the phpadmin site. Everything is hosted on godaddy. They don’t know what to do and I’ve run out of ideas. Thank you for your help. I searched many of the topics but didn’t find my specific issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I forwarded my old domain to a new domain.

    But that won’t change where the db is. Won’t the db still be under the old domain name?

    Thread Starter leslielaas

    (@leslielaas)

    The name of the wp database is the same. I’m pretty sure the wp-config.php file is right:

    / ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘laa0934012541951’);

    /** MySQL database username */
    define(‘DB_USER’, ‘laa0934012541951’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘********!’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘laa0934012541951.db.5333376.hostedresource.com’);

    I’ve done several things listed under entries for “Error establishing a database connection” with no luck.

    Thread Starter leslielaas

    (@leslielaas)

    crude I was missing the final line of php in my wp-config.php file!!!
    Problem solved
    ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unable to sign in to website’ is closed to new replies.