Welcome to WordPress Community Forum. Please login or sign up.

Nov 25, 2024, 01:04 PM

Login with username, password and session length

Shoutbox


Recent

Members
Stats
  • Total Posts: 55
  • Total Topics: 45
  • Online today: 5
  • Online ever: 136 (Apr 17, 2022, 11:37 PM)
Users Online
  • Users: 0
  • Guests: 21
  • Total: 21
21 Guests, 0 Users

Error Establishing A Database Connection in WordPress

Started by Chris, Feb 28, 2022, 01:49 AM

Previous topic - Next topic

WordPress Premium Themes


Chris

Hi,

I have installed WordPress successfully and I installed theme from WordPress admin area. It was working fine several hours ago but now it is showing the following error:

Error establishing a database connection

I did not make any changes in database or database user. How can I fix it?

Thanks,

Kailash

Hello,

There can be several reasons for this error as follow:

[1] If there is any issue with MySQL service on the server. If other MySQL related websites are working fine, this should not be the reason.

[2] If there any database table corruption, you may receive this error. You can try to repair the table from phpMyAdmin or from control panel (if there is any option).

- Kailash

WordPress Premium Themes