Title: No database selected checking category id
Last modified: August 19, 2016

---

# No database selected checking category id

 *  [mgrist](https://wordpress.org/support/users/mgrist/)
 * (@mgrist)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/no-database-selected-checking-category-id/)
 * [http://www.samanthahardy.com.au/](http://www.samanthahardy.com.au/)
 * Help! This blog worked just fine on the development server, but when uploaded
   to its final destination I receive this message: “No database selected checking
   category id”. I have deleted the database and recreated it, also re-uploaded 
   all of the wordpress files from the server which works (these are located at 
   [http://www.mariagrist.net/wordpress](http://www.mariagrist.net/wordpress)) but
   still receive the above error. Is this because the server is using SFTP? or have
   I done something wrong? My knowledge of php and databases is practically non-
   existent so I am stuck on troubleshooting this one. All help gratefully received,
   thanks!!!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/no-database-selected-checking-category-id/#post-1255321)
 * What versions of PHP & MySQL are on your host’s server?
 *  Thread Starter [mgrist](https://wordpress.org/support/users/mgrist/)
 * (@mgrist)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/no-database-selected-checking-category-id/#post-1255328)
 * I don’t know and I don’t know how to find out using cPanle, so I might contact
   the hosting provider. Thanks
 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/no-database-selected-checking-category-id/#post-1255329)
 * It might be worth sending them the link to [http://codex.wordpress.org/Hosting_WordPress](http://codex.wordpress.org/Hosting_WordPress)
   to confirm that the requirements are met and also [http://codex.wordpress.org/User:Hakre/Technical_Installation](http://codex.wordpress.org/User:Hakre/Technical_Installation)
 *  Thread Starter [mgrist](https://wordpress.org/support/users/mgrist/)
 * (@mgrist)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/no-database-selected-checking-category-id/#post-1255357)
 * Thanks for your help. I found what the problem is. The .htaccess file on the 
   server was causing problems and the server commented it out. After this the site
   is now up and running.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘No database selected checking category id’ is closed to new replies.

## Tags

 * [category id](https://wordpress.org/support/topic-tag/category-id/)
 * [no database selected](https://wordpress.org/support/topic-tag/no-database-selected/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 2 participants
 * Last reply from: [mgrist](https://wordpress.org/support/users/mgrist/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/no-database-selected-checking-category-id/#post-1255357)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
