Support » Localhost Installs » Error establishing a database connection

  • I installed wordpress on http://shrpromotion.pk and after that i remove it and after that i installed a fresh copy

    Actually i deleted some files from Cpanel may be i deleted some wrong file … not sure !

    but now when i type the above url it gives me this error ==> Error establishing a database connection

    What you suggest ?

Viewing 1 replies (of 1 total)
  • shrpromotion.pk/wp-admin/

    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.

    Some reference material: Editing wp-config.php

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