For security reasons, Plesk does not display existing database user passwords. If you forgot a database password (or want to rotate it), you must set a new password and then update your website configuration.
Step 1: Change the database user password in Plesk
- Log in to Plesk (via My.GARMTECH → Login to Plesk).
- Go to Websites & Domains → Databases.
- Open User Management (or click the database user).
- Enter a new strong password and click OK.
Tip: use a long unique password (12–20+ characters) and store it in a password manager.
Step 2: Update the password in your website
If you changed the password in Plesk, your website will stop connecting to the database until you update its config.
WordPress
Edit httpdocs/wp-config.php and update:
define('DB_PASSWORD', 'new_password_here');
Laravel
Edit httpdocs/.env and update:
DB_PASSWORD=new_password_here
After changes, clear caches (example):
php artisan config:clear
php artisan cache:clear
Other CMS
Update the database password inside your CMS configuration file (often config.php, configuration.php, settings.php, etc.).
Step 3: Test
- Open the website and confirm pages load normally.
- If you see a database error, re-check that you changed the correct database user and updated the correct config file.
Common mistakes
- Changed password for the wrong DB user: websites can have multiple databases/users. Make sure you update the user that your site actually uses.
- Forgot to update the config: the website will show “Error establishing a database connection” until the config is updated.
- Staging vs production: if you have multiple environments, update the right one.