WordPress.org

Ready to get started?Download WordPress

Forums

Can't see wordpress site and weird mySQL database errors (4 posts)

  1. allthewhile
    Member
    Posted 7 years ago #

    Connection Strings
    Perl $dbh = DBI->connect("DBI:mysql:frankli_wordpress:localhost","frankli_jayson","<PASSWORD HERE>");
    PHP $dbh=mysql_connect ("localhost", "frankli_jayson", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
    mysql_select_db ("frankli_wordpress");

    I seem to be getting this on every database, not just the wordpress site.

  2. vkaryl
    Member
    Posted 7 years ago #

    In that case, you might want to contact your host. If all your dbs are throwing errors, it's likely to be something on their end.

  3. allthewhile
    Member
    Posted 7 years ago #

    Is it possible to download all of my archives even if I'm getting this error? Or does this mean I'm screwed?

  4. Michael Bishop

    Posted 7 years ago #

    connection error doesn't mean the database is wiped out. Best thing to do is access the DB via something like phpmyadmin and do a mysql dump to get the backup.

Topic Closed

This topic has been closed to new replies.

About this Topic