How to Fix the Error Establishing a Database Connection in WordPress?

Have you ever seen a notification that says Error Establishing a Database Connection on your WordPress…
Have you ever seen a notification that says Error Establishing a Database Connection on your WordPress…