• Hi can anyone help me please?
    Two days ago all three admin user were locked out.
    But the site remained online all ok.
    Tried a few suggested idea’s to no avail.In fact i only made things worst.oops!
    So this morning i re-installed my backups.
    To do this i used “backups” in cpanel.I re-installed MySQL database and a home directory.All the file exist in FTP public html.
    But i still can’t access my wp-admin.In fact it does’nt even give me the option to enter a user or password.I’ve contacted my host,awaiting a reply ? see error below

    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?

    Does this message mean my user name & password have been hacked?

    Any advise would be most appreciated thank you ..

Viewing 2 replies - 1 through 2 (of 2 total)
  • do you know how to edit wp-config.php file? try to edit and make sure the database name and password is correct there.

    Thread Starter martin789

    (@martin789)

    Sorry i’m new to all this software.I have php.My-admin but i’ve only used it once.I’m sure if u explained it i’d understand,touch wood.
    I know i’m a pain,please i really could do with some help here.
    Cheers Martin

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