• I set up database and user, I type the url

    http://blog.jim.com/wp-admin/install.php

    And get the response

    Error establishing a database connection

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?

    Yes, I am sure I have the correct username and password.

    I went to cpanel/MySql Databse, created a database and user, added the user to the database, whereupon cpanel/Mysql displayed:

    Database Users
    echeque_Wordpress echeque_word

    and my wp-config.php file says:
    define(‘DB_NAME’, ‘echeque_wordpress’); // The name of the database
    define(‘DB_USER’, ‘echeque_word’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘EpC8Q5bg’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jamesd127

    (@jamesd127)

    And before anyone points out the difference between echeque_Wordpress and echeque_wordpress, yes I tried all possible combinations

    Thread Starter jamesd127

    (@jamesd127)

    Found the problem – the hostname name is not localhost.

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

The topic ‘Error establishing database connection’ is closed to new replies.