Support » Installing WordPress » Another DB Error… selecting the DB

  • Ugh… i hate fresh installs…

    Can’t select database

    We were able to connect to the database server (which means your username and password is okay) but not able to select the socalsci_wrdp2 database.

    * Are you sure it exists?
    * On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?

    Some stuff that may help…

    socalsci_wrdp2

    Users in wrdp2
    socalsci_wrdp2 (Privileges: ALL PRIVILEGES)

    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:socalsci_wrdp2:localhost”,”socalsci_wrdp2″,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “socalsci_wrdp2”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“socalsci_wrdp2”);

    Existing MySQL Users
    socalsci_brent
    socalsci_wrdp2

    Any idea?

Viewing 1 replies (of 1 total)
  • Check the database name in your wp-config.php is correct. I guess, trying to decipher all that stuff you pasted here, that you’ve already createad a database. If not, you’ll have to.

Viewing 1 replies (of 1 total)
  • The topic ‘Another DB Error… selecting the DB’ is closed to new replies.