• arrakis

    (@arrakis)


    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

    (@moshu)

    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

    (@arrakis)

    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

    (@moshu)

    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

    (@arrakis)

    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

    (@paetenos)

    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

    (@moshu)

    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

    (@paetenos)

    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.