WordPress.org

Ready to get started?Download WordPress

Forums

Still No Luck :( (20 posts)

  1. gingerbeer2000
    Member
    Posted 9 years ago #

    I've been trying to resolve this problem for a few days now and its doing my head in !

    I get this error listed below;

    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.

    * Are you sure you have the correct user/password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    I have placed the Mysql username and password in the relevant fields also the host name to my site. Shouldnt it create the database for me or direct me to the wordpress configuration page ?

    Below is my PHP server info

    http://superultra3.uk2net.com/phpinfo.php

    ('DB_NAME', 'wordpress')
    ('DB_USER', '*****_com1');
    ('DB_PASSWORD', '******');
    ('DB_HOST', 'http://www.????.com/blog')

    All folders are chmod 755

    Please what am i doing wrong ?

  2. RustIndy
    Member
    Posted 9 years ago #

    The installer doesn't create the database for you. You'll need to create the database and the user first (remembering to give that user full rights to the database) before WP will install.

  3. gingerbeer2000
    Member
    Posted 9 years ago #

    how does one do that ?

  4. BuffyVS
    Member
    Posted 9 years ago #

    first off... change the db host to just "local host" you most likely wont even need to change that to anything at all

    You create the database by going into your control panel and going into your mySql. Create a user, password and a database and make sure that you have added that user to that database you created.

    Remember the name you give for the database, the user and password and edit it to that in your config.php

  5. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Try :

    ('DB_HOST', '????.com')

  6. gingerbeer2000
    Member
    Posted 9 years ago #

    Into mysql ? how ?

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    http://help.uk2.net/faq/cgi/databasesmysql.html - it's not localhost... and you did get the right user/pass from them ?

    (I deal with this host ....... clever isn't a word I'd use)

  8. gingerbeer2000
    Member
    Posted 9 years ago #

    Now i get this error

    We're having a little trouble selecting the proper database for WordPress.

    * Are you sure it exists?
    * Your database name is currently specified as wordpress. Is this correct?
    * 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?

  9. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Edit wp-config.php and the host line I wrote goes there

  10. gingerbeer2000
    Member
    Posted 9 years ago #

    I havent typed in localhost but ???????.com change in error see above

  11. gingerbeer2000
    Member
    Posted 9 years ago #

    i have the correct username & password for the DB

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    User and pass are correct, as is host.

    Have YOU created 'wordpress' ?
    If not, then from their faq:
    "Your username and database will almost certainly be your domain name, with some characters replaced by underscores (_), and ending with the number 1. Don't miss the number out, or it won't work."

  13. gingerbeer2000
    Member
    Posted 9 years ago #

    wordpress ? you mean the database ?

  14. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yup

  15. gingerbeer2000
    Member
    Posted 9 years ago #

    how do i create the database in mysql ?

  16. gingerbeer2000
    Member
    Posted 9 years ago #

    i havent created it atm because i dont know how :(

  17. Mark (podz)
    Support Maven
    Posted 9 years ago #

    In the answer above - it could well be your username. Have you tried that ?

  18. gingerbeer2000
    Member
    Posted 9 years ago #

    :OOOOOOOOOOOOOOOOOOO i noticed a database on the server and i replaced wordpress with it and now i get a new wordpress webpage :P

    Thx for assitance podz i may need your help later

    adios 4 now :)

  19. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Rah !! :)

  20. gingerbeer2000
    Member
    Posted 9 years ago #

    Thanks again podz and all the wordpress team you RULE !! just testing the site :) its basic atm going to bed all that number crunching ............ZzZzZzZz

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.