Title: database???
Last modified: August 18, 2016

---

# database???

 *  [arrakis](https://wordpress.org/support/users/arrakis/)
 * (@arrakis)
 * [20 years ago](https://wordpress.org/support/topic/database-4/)
 * so i tried running the install files after uploading WP to my host server; i 
   saved all wordpress documents in a directory labelled “blog”; and installed the
   database in a directory named “database”
 * now, when i tried running the install file, i got
 * ——————————————————–
    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 database 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? ——————————————————–
 * any ideas on how i can fix it? i first had the database and wordpress loaded 
   in the same root directory and that kept giving me the same error as well. then
   i went to the host help files and saw a warning saying they shouldn’t be loaded
   in the same folder, which is why i moved them to two separate folders…
 * help! pretty please, etc…

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-388962)
 * _and installed the database in a directory named “database”_
 * This doesn’t make too much sense: the MySQL database should be installed by your
   host and you cannot put it in a “directory”…
 *  Thread Starter [arrakis](https://wordpress.org/support/users/arrakis/)
 * (@arrakis)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-388967)
 * the host (*cough*Yahoo*cough*) required me to install it–“phpmyadmin”; and asked
   me to select a directory to install it in–i went through the help files and i
   couldn’t find “preferable install location” anywhere in it…
 * where would the database be in relation to the wordpress files traditionally?
 * edit: should it be inside the blog folder? :-s
    how does wp-config or install
   connect to the database? would the difference in directory levels be what’s causing
   the problem?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-388970)
 * 1. phpMyadmin is NOT the database – it is the tool to interact with your database.
   
   2. If it’s Y. I give up – sorry. Search here for Y and you might find some posts
   by fellow Y-users that could be helpful.
 *  Thread Starter [arrakis](https://wordpress.org/support/users/arrakis/)
 * (@arrakis)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-388972)
 * Y asked me to create a database with phpMyadmin, which i did, naming the folder
   it was created in “database”; which is one of two folders in the root directory–
   the other being the “blog” folder which contains all the wordpress files.
 * where does the database need to be located in relation to the wordpress files?
   i just can’t figure it out; and i couldn’t find the User Privileges interface
   mentioned in the Codex anywhere on there 🙁
 *  [paetenos](https://wordpress.org/support/users/paetenos/)
 * (@paetenos)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-389225)
 * I got the same problem of this
 * 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 myusername_mydatabase 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?
 * Anyone know to resolve this? Please…
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-389226)
 * _myusername\_mydatabase_
 * This can’t be real 🙂
    The error message means: the DB NAME is not correct in
   the wp-config file. It can be a typo, can be wrong name…
 *  [paetenos](https://wordpress.org/support/users/paetenos/)
 * (@paetenos)
 * [20 years ago](https://wordpress.org/support/topic/database-4/#post-389236)
 * I checked everything the wp-config file the database name is correct but still
   i got the same message. Anyone can help?

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

The topic ‘database???’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 7 replies
 * 3 participants
 * Last reply from: [paetenos](https://wordpress.org/support/users/paetenos/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/database-4/#post-389236)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
