How To Fix “Error Establishing A Database Connection” In WordPress

How To Fix “Error Establishing A Database Connection” In WordPress

Elegant Themes

6 лет назад

274,273 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

haseeb abdul
haseeb abdul - 10.10.2023 22:33

Thank you so much 👍

Ответить
Tapiwanashe Jamiel Kazembe
Tapiwanashe Jamiel Kazembe - 30.09.2023 23:29

You are soo good, thanks a million times buddie.

Ответить
GSap Stark
GSap Stark - 11.09.2023 18:54

what if I can't find the wp-config file in phpmyadmin ? it's nowhere to be found and I can't go forward with troubleshooting :(

Ответить
Nikolai kong
Nikolai kong - 03.06.2023 00:19

非常感谢!爱来自中国

Ответить
Cinema of Sounds
Cinema of Sounds - 17.05.2023 05:34

I didn't give my new database privileges and the MySQL databases allowed me to do that thank you.

Ответить
Dr. Mikeal Hughes
Dr. Mikeal Hughes - 21.04.2023 07:20

What I need to know is what directory the sql file goes in on the server. I’m having to migrate my word press site manually. Due to upload file size limit. What directory contains the SQL file?

Ответить
Learning Solutions Group
Learning Solutions Group - 28.01.2023 13:10

Thank you, I was able to repair my database and get my site back online using your tutorial

Ответить
Brave Solani
Brave Solani - 18.01.2023 18:44

Thanks Bro... First Option didn't work but the second worked instantly.

Great Tutorial, straight to the point... Sweet.

Ответить
Tomislav_._
Tomislav_._ - 30.12.2022 12:23

Thank you, this tutorial saved my nerves and brought my site back to life! :)

Ответить
Vladimier Apostol
Vladimier Apostol - 20.12.2022 19:18

The site was doing fine until "Error establishing a database connection" appeared in rare occasion the site could be accessed sometimes not is it the site problem?

Ответить
Kamal De Animata
Kamal De Animata - 15.11.2022 22:43

OMG thank you so much problem fixed with the first option,,,, you are genius among men.

Ответить
LGDS.gaming
LGDS.gaming - 07.11.2022 18:57

where can i find wp directory ?

Ответить
hemant dhiman
hemant dhiman - 20.10.2022 14:41

Thanks man!!!

Ответить
NUTRITION ONE
NUTRITION ONE - 21.07.2022 00:17

Liked & Subscribed. You really saved my ass dude. Thank You

Ответить
Jules Ivan Garay
Jules Ivan Garay - 13.07.2022 18:25

YESSS!! Thank you so much!

Ответить
Northern Ghana
Northern Ghana - 05.07.2022 15:51

Thanks a lot

Ответить
NUR ADRIANA BINTI MOHD YUSLE BI20160308
NUR ADRIANA BINTI MOHD YUSLE BI20160308 - 16.06.2022 22:27

Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO)
i keep receive this error message, anyone know what to fix

Ответить
KeNaNoO CyPer
KeNaNoO CyPer - 16.06.2022 13:44

good job

Ответить
KARTEL TECH
KARTEL TECH - 15.06.2022 17:39

This helped me to address my issue.
i had previously changed my cpanel name and this changed the username of all my databases. so i logged in to my cpanel, root directory of my website and edited the wp config file and put the correct username of my databases. i first checked the username of my databases using the cpanel file manager.

Ответить
Leon Kambarami
Leon Kambarami - 13.06.2022 20:51

Thanks first option worked. U r legend

Ответить
Red Ira Jahdiel Rosario
Red Ira Jahdiel Rosario - 31.05.2022 11:35

THANK YOU SO MUCH! IT WORKED! I modifed my SQL database and that error popped up after the update! THANK YOU AGAIN!!!!

Ответить
Sylvester Smyles-Crentsil
Sylvester Smyles-Crentsil - 27.05.2022 14:34

Thanks man, really needed this.

Ответить
FEMALE TRADER RAMYA
FEMALE TRADER RAMYA - 22.05.2022 17:07

Great explanation for non-techies 👍

Ответить
Modz
Modz - 14.05.2022 18:13

Hey thanks for video tips,

But I have an issue when I go to the phpnyadmin and navigate to the wp-options of the current database

I'm not able to see the site url instead there's something else.

What could be the reason for this ?

Thanks in advance.

Ответить
MeRoza
MeRoza - 12.05.2022 04:14

Thank you. It was helpful.

Ответить
James Ndungu
James Ndungu - 08.04.2022 21:29

Mine was a simple WordPress PHP thing repair. Thank you, solved my problem :)

Ответить
Ernesto
Ernesto - 30.03.2022 08:08

Don't working

Ответить
MMALifestyle
MMALifestyle - 06.03.2022 19:31

How do you do this on a android phone?

Ответить
Priscillia Otukoya
Priscillia Otukoya - 08.02.2022 18:01

Was so helpful 😭😭

Ответить
Tahir Yamin
Tahir Yamin - 13.01.2022 09:29

Simply delete all the DB User and File from SQL Admin, and reinstall the wordpress again. BOOM! all pain removed

Ответить
Web Design CFG Romania
Web Design CFG Romania - 30.12.2021 10:43

Hi. I was able to restore the database. Very good information. Thanks!

Ответить
Asher Jappar
Asher Jappar - 14.12.2021 10:06

Did'nt work ;(

Ответить
Fatim Ezzahra SAMMAMA
Fatim Ezzahra SAMMAMA - 30.11.2021 14:00

thank you so much

Ответить
Jehian
Jehian - 01.11.2021 13:18

internal server error

Ответить
Video to DVD Scotland
Video to DVD Scotland - 22.10.2021 11:23

Thanks so much for this fixed my issue

Ответить
Isaac Maag
Isaac Maag - 20.10.2021 10:08

Didn’t solve my issue👎

Ответить
Abdulla Alkooheji
Abdulla Alkooheji - 21.09.2021 10:27

I get big traffic spike, I get this error, but server was up. so what should I do in this case?
it comes for some time, then the site working.
you give solution for 1 and 2. What about 3?

Ответить
Helen Mendoza
Helen Mendoza - 10.09.2021 07:41

can i just say you are the best?!!!!!

Ответить
Karl Bodmann
Karl Bodmann - 08.09.2021 22:10

Thanks so much!!

Ответить
Talha Qureshi
Talha Qureshi - 05.09.2021 11:47

not working

Ответить
Andy Asiedu
Andy Asiedu - 27.08.2021 21:41

define ( 'WP_ALLOW_REPAIR' , true ) ;

Ответить
İsmet Ömer Koyuncu
İsmet Ömer Koyuncu - 20.08.2021 19:03

Thank u so much repairing worked

Ответить
Heart Feelings
Heart Feelings - 10.08.2021 16:07

how can i find

Ответить
Heart Feelings
Heart Feelings - 10.08.2021 16:07

i can't find code from blog post please help

Ответить
D4Gameplay
D4Gameplay - 24.07.2021 21:15

Amazing! I had troubles with this after moving hosts and the repair code (and repairing database) worked perfectly. Thanks so much!

Ответить
Dominik Schwarzer
Dominik Schwarzer - 21.07.2021 12:01

Worked! Thank you!

Ответить
Dominik Schwarzer
Dominik Schwarzer - 21.07.2021 12:01

define( 'WP_ALLOW_REPAIR', true );

Ответить
Loopcrate
Loopcrate - 21.07.2021 00:38

Thank you SOOO MUCH for this! Was freaking out after trying to fix it for hours and this worked like a charm! 👍🏼

Ответить
Azizpal Singh
Azizpal Singh - 13.07.2021 11:46

Thanks, respect++

Ответить