WordPress.org

Support

Support » Installation » [Resolved] Can't establishing a database connection

[Resolved] Can't establishing a database connection

  • Hi All
    See error text below.

    I can login with heidi…
    I have acces to my webserver with FTP
    I mean I have configured my wp-config.

    So i’am blank, please help.

    “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 mysql.xxxxxxxx.dk. 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.

Viewing 15 replies - 1 through 15 (of 22 total)
  • esmi

    @esmi

    Forum Moderator

    You need to check your database details with your host.

    Hi esmi
    I can login with the same settings as in wp-config in Heidi.

    I’am sure that my username is right, aswell as my password

    esmi

    @esmi

    Forum Moderator

    Please check your database details with your host.

    U mean-
    I have all the details i need.
    Host adress
    Username
    password

    i’am trying to run the wp-install.php

    esmi

    @esmi

    Forum Moderator

    We cannot troubleshoot your database access credentials. You need to do this with your hosts.

    I’we done that..
    My host and I have tested.

    I can login in heidiSQL

    Or I don’t understand what U mean. LOL

    i just had tp reinstall mysql and now i’m getting this error also:-(
    i can also connect to the db from the commandline:

    [tomw@surplus cavitronix.com]$ mysql -h hp -u cavitronix_wp -p
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 16
    Server version: 5.5.24 MySQL Community Server (GPL)

    and yes, these are the credentials in my wp-config. so where might i find error msgs to help track down the problem?

    esmi

    @esmi

    Forum Moderator

    @airdrummer: It is impolite and contrary to forum policy to interrupt another poster’s ongoing thread with a question of your own. Please post your own topic.

    Its, ok for me, we have the same problem, and haven’t got a solution yet..

    Have you found a solution yet ? I have the same problem with mine.

    esmi

    @esmi

    Forum Moderator

    Please post your own topic.

    Hey o0mcart0o,

    Like Esmi said, you have to double check your credentials. I see your referencing to your FTP credentials being correct but your FTP credentials and database credentials are two separate things. You will need to be certain that your wp-config.php files has your database host, database user, and database password. You can get these either from your host or if you know where to look, in your control panel your host provides.

    @ivanturbinca, esmi is just trying to withhold the WordPress forum policy. While other, like you, later search and come on to this post, they are trying to find an answer. They are not looking for how many people had the same issue. If you have the same issue, you can create a new topic or subscribe to this one. 🙂

    esmi

    @esmi

    Forum Moderator

    Added to which IvanTurbinca has a completely different issue and has already posted his own topic.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘[Resolved] Can't establishing a database connection’ is closed to new replies.
Skip to toolbar