Error In database Connection


My Wordpress Site Was Working Perfectly But After Some Time It Says
And I Refresh The Page But It Says


Hi @shivanshsingh000!

If you have changed your database password, you should go to /public_html/wp-config.php and update the password (DB_PASSWORD) from there as well.


Where Can I Find To Change The Password

  1. Go to File Manager

  2. Double click on file: /public_html/wp-config.php

  3. Go to line: define("DB_PASSWORD" "[ ... ]");

  4. Replace that line with this one: define("DB_PASSWORD" "YOUR PASSWORD HERE");

Replace “YOUR PASSWORD HERE” with your DB password :wink:


Can I Also Change My Username from This


Yes, you can change your database credentials from there. But make sure they are valid.

Provide only the ones listed here: 000webhost cPanel > Manage database


Thanks It Works
I install Wampserver
And I Am Loging In In My Phpmyadmin Panel From My 000webhost Phpmyadmin panel Username And Password But It Shows


No, WAMP works by default only locally (you can check this after URL: localhost), therefore you can’t access your database from WAMP.

Instead, you can manage your database using 000webhost’s Database Manager :wink:


Ok Thanks For Your Help