• 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter allthewhile

    (@allthewhile)

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

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t see wordpress site and weird mySQL database errors’ is closed to new replies.