Forums

Help - Error establishing a database connection (11 posts)

  1. Planchi
    Member
    Posted 4 years ago #

    Hey Guys,

    I'm new in this community and I was trying to install WP with the tutorial: http://www.tamba2.org.uk/wordpress/xampp/

    I installed everything step by step but when I try to run the 'install.php' in my localhost I get the following error:

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

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

    If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    The URL I'm using to get to this file in my browser is the same that the turotial ask me to open:

    http://localhost/wordpress/wp-admin/install.php

    Both Apache and MySql services are working and I created the database 'wordpress'.

    Does anyone know what is the problem?

    Thanks
    Nico

  2. moshu
    Member
    Posted 4 years ago #

    That error message is always right: there is a problem with the info you entered in your wp-config file. They are NOT correct.

  3. MotorTotal
    Member
    Posted 4 years ago #

    Oh my God, there is this message in my blog too. How can I entry to it?

    http://blog.cibermotor.es/motortotal

    Thanks :(

  4. MotorTotal
    Member
    Posted 4 years ago #

    Help, please!

  5. moshu
    Member
    Posted 4 years ago #

    Only you can help yourself by putting the correct information in your wp-config.php file.
    The error say the 4 pieces of information (or some of them) are not correct.

  6. MotorTotal
    Member
    Posted 4 years ago #

    I want to put the correct informatin in this file, but I can't. I see the message again...

  7. moshu
    Member
    Posted 4 years ago #

  8. VeraBass
    Member
    Posted 4 years ago #

    If all else fails, there is a small possibility that the host you're using doesn't respond to 'localhost'.

    With my first host, I had to put the actual server name in there.

  9. kingnow
    Member
    Posted 4 years ago #

    i have the same problem.plz!

  10. piggygrace
    Member
    Posted 4 years ago #

    I have the same problem in having that error message.

    But I will be having a problem in finding the actual server name if it really doesn't respond to "localhost". Where do I get that?

  11. VeraBass
    Member
    Posted 4 years ago #

    Ask your host.
    The entire conversation should take 2 minutes.

Topic Closed

This topic has been closed to new replies.

About this Topic