Support » Installing WordPress » Error establishing a database connection

  • srolls


    Trying to install wordpress and I get a “Error establishing a database connection” error.

    The database is not in the public folder but instead in a database folder off the root. Is this a problem, and if so do I have to specify the location in the wp-config file somewhere?

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Try asking your host for assistance.



    srolls, WordPress makes use of a MySQL database which isn’t really ‘stored’ the way you’re describing. You’ll be best to talk to your hosting company or take a look in your control panel to see if there’s a one click install option.



    I get this error: Does any know how to fix it? Thanks

    Warning: mysql_get_server_info() expects parameter 1 to be resource, boolean given in /home/weblog/public_html/wp-content/db.php on line 1349

    Can’t select database

    We were able to connect to the database server (which means your username and password is okay) but not able to select the weblog_global database.

    * Are you sure it exists?
    * Does the user weblog have permission to use the weblog_global database?
    * On some systems the name of your database is prefixed with your username, so it would be like username_weblog_global. Could that be the problem?

    If you don’t know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.



    @itcigarrilloselectronicos : Please do not interfere in any other issues as it may cause trouble while assisting to actual issue.

    You need to start a new thread.. Access and at the bottom, you can start the new topic.

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