• I get this error when i open /wp-admin/install.php:

    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’ve already configured the following:

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘******’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘******’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple blogs in a single database.

    What else ought i to change? Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you checked out this page ?
    https://codex.www.ads-software.com/Installing_WordPress

    There is also a page for cpanel if you have that ?
    https://codex.www.ads-software.com/Using_cPanel

    Thread Starter eyetoeyehere

    (@eyetoeyehere)

    Yes, i’ve read them, but i am still rather helpless as to what to do as i have had no previous experience with mysql.

    If you want to contact me by email, I’ll see how I can help ?
    Anything you then feel would help those documents for future users I can then put in them ?

    tamba2 at gmail dot com

    Thread Starter eyetoeyehere

    (@eyetoeyehere)

    I think maybe it would be better to discuss this here? I’m having plenty of problems with my email now that i suspect only time will sort out. The main problem is in that i don’t know how to access or work mysql. I know for sure that my hosting plan comes with one that meets the requirements. I have been sent the username and password. But how to i go about creating a database for wordpress?

    Without seeing your website control panel, I cannot be specific about the steps you need to take.
    I would email your host and ask them that question – though the information we have does attempt to be as generic as possible.

    What you do not need to know it how to actually work mysql – you just need to put a name in the correct place.

    Thread Starter eyetoeyehere

    (@eyetoeyehere)

    Right. I’ve done that, and i think i’ll now go to bed. Thanks lots.

    lol I sense some hostility… If you are sure that you have the correct username and password, have you tried juggling the cases around? Though mysql is not indimicly case sensitive, the php file that you are putting your user information into is and therefore may be kicking back an error. While you are at it, try using the default config username=”root’ and password=””

    Hope to help -whit

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.