تحميل

How to fix establishing a database connection error on WordPress

Updated at
18/10/2022
Views
2163

Introduction:

In today's article, I will guide you, how to fix establishing a database connection error on WordPress. So let's get started.

  • Firstly, go to your cPanel account, and then login.
  • After that, find out the Files section, and then click on File Manager option.
  • So now go inside to the public_html, and then find the wp-config.php file.
  • Now right-click on this file, and then click on Edit button.
  • Again, click on edit button, and then here you will find all the credentials of WordPress database username and password.
  • So for fixing this error, You just need to enter the correct database username and password! Whatever is wrong, But if you don't know the exact database username and password, then you can simply go to the Databases section, and then click on MySQL databases option.
  • Here, just scroll down to the bottom, and you can see the current database username, and you can also change the password.
  • So now put the correct database username and password inside the file, and then finally click on the Save Changes button.
  • By using this way, you can fix your establishing database connection error.

YottaSrc footer

لماذا تختارنا؟

أفضل الأسعار, تخزين SSD سريع و دعم فني
24/7 حقيقي

control panel icon
cPanel

إدارة موقعك من خلال CPanel بأحدث إصدار

security icon
سريع وموثوق وآمن

ضمان وقت تشغيل بنسبة 99.8٪.
لذا ركز على عملك!

support icon
دعم 24/7/365

ليلاً أو نهارًا ، مطر أو شمس ،
فريقنا هنا من أجلك!

cloud backup icon
نسخ احتياطي يومي

نسخ احتياطي يومي وأسبوعي.
ملفاتك آمنة!