Forums

Can’t select database (7 posts)

  1. shanholtzer
    Member
    Posted 3 years ago #

    I keep getting this error message. I'm using cpanel and I have used the "prefix" and done everything this site suggests. Not sure what I should do now!

  2. meesha
    Member
    Posted 3 years ago #

    What error message?

  3. shanholtzer
    Member
    Posted 3 years ago #

    the error message is "Can't Select Database"

  4. shanholtzer
    Member
    Posted 3 years ago #

    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 ohym_wordpress database.

    * Are you sure it exists?
    * Does the user ohym_derrick have permission to use the ohym_wordpress database?
    * 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?

  5. figaro
    Member
    Posted 3 years ago #

    Look at this video where I demo installing WP through Cpanel...maybe it will help.

    http://www.youtube.com/watch?v=5nxXsROoBYs

  6. figaro
    Member
    Posted 3 years ago #

    dup...sorry...connection problems.

  7. debbrancheau
    Member
    Posted 2 years ago #

    I was having this problem as well when I was moving my site to a new domain. Since the domain name was different, the database name was different as well with my hosting company.

    However, even though I changed the database name in the wp-config.php file, when I backed up my database from my original site (site1.com), I downloaded the zip file site1_wordpress.sql.

    But I forgot when I imported the file through PHPMyAdmin to the new site to change the name of the file to the name of the new database/site (site2.com). So the database file I imported should have been site2_wordpress.sql.

    I don't know if that helps anyone, but I thought I'd post it just in case.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.