Error Establishing a Database Connection in WordPress
Are you seeing the ‘Error establishing a database connection’ notice on your WordPress website?
It is a fatal error that makes your WordPress website inaccessible to users.
it will be lost your database connection. you can check these steps following to fix this issue.
1. Step:
Open your wp-config.php file where you can find the root directory of your website.
2. Step:
You can check your "DB_NAME", "DB_USER", "DB_PASSWORD", "DB_HOST"
<?php
/** The name of the database for WordPress */
define( 'DB_NAME', 'partex1' );
/** MySQL database username */
define( 'DB_USER', 'root' );
/** MySQL database password */
define( 'DB_PASSWORD', '' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
4. Step:
Fixing the issue for this file will solve your problem.
Error Establishing a Database Connection in WordPress
Reviewed by TechTubeHQ
on
September 01, 2021
Rating:

No comments: