Forums

[resolved] unable to sign in to website (4 posts)

  1. leslielaas
    Member
    Posted 5 months ago #

    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.

  2. kmessinger
    Member
    Posted 5 months ago #

    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?

  3. leslielaas
    Member
    Posted 5 months ago #

    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.

  4. leslielaas
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Topic

Tags