Error establishing a database connection error in wordpress [SOLVED]
Вставка
- Опубліковано 17 жов 2024
- How to solve "Error establishing a database connection" error in wordpress ? We will describe A quick solution of "Error establishing a database connection" A description on How to solve wp-config issue?
STEP 1 : Login to your cPanel.
STEP 2 : Go to Mysql database.
STEP 3 : Change/Reset Mysql Database password and paste it to wp-config file. Also cross-check db hostname , Mysql user etc.
STEP 4 : Once you have syncronized the wordpress db credentials, You're done.
WOAH . . . I was so nervous for the first time and after I had applied this video. NOW IT WORKS! Thank you so much.
You're amazing bhai 😘 bhagwan apko bohot sare bache de
Bhai hamne apne website per 70 post kiye the uske baad database errors aa rha h to aapke द्वारा बताया गया solution को करेंगे तो क्या वह सभी पोस्ट डिलीट हो जाएँगे ' plz reply
Thank you so much for everything, after watching more videos, and have not gotten any answer. Right now at the right place. I thank you again.
People like you motivate us.
Hello sir,
I resetup my cpanel due to some reasons, and after adding database, making and connecting user to database, and when I try to install the WordPress it is showing that "database connection failed" and after checking in files I noticed that there is no confic.php file in my publichtml section there is only config sample file..
What will I do now... Please help
Yes the guide will still work in this case as well.
Your video helped a huge deal. I am a new found subscriber on server issues.
How it will work on Xampp please help
I am migrating domain with duplicator plugin while installing database I am getting the same error and fixed wo-config as shown still problem exists...so the question is in this cas should i put the user name and password of- from domain which i am transferring or in which i am transferring
get the db credential from destination server not source server.
I mean, in which you are finally going to host.
@@RedServerHost ok now it's working
I solved my database error with the help of your tutorial. Thank you so much. In my case user name of database was wrong in php file. How does it happen? I shared password with my client's so called administrator. Did he try to tease me or to show his superiority to my client? or it happens just like that?
Sir many bi search ma yehi likha but mujhy ye login wali cheeze show. Ni howi kya iyse ko phely download krna prta ha computer n
wow... you saved me, i'm back in business. tomorrow i have a presentation and was getting worried. thanks a lot,
my website disapeared from the file manager. but i think i know the database can i just select check database ?
I have change hosting provider. Also taken backup from one hosting provder to another hosting provider then uploaded all files then trying to load my website it says "Error establishing a database connection" how to resolve it please.
Reupload the database after recreating a new one. And then follow this video. It will surely work. Also, We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.
Finally I could fix it. You saved me from paying $10 to a freelancer.
Glad to hear that Anupam Das, thanks for watching!
Regards,
Team Redserverhost
stil not work :" after typing my URL/cpanel, it didn't log into cpanel, instead to cwp. how to fix it?
if they asked me to reinstall wordpress should i do it.?
But my database not opening its showing the mysqlserver is currently offline
Bro I have done this same but yet problem not solved. It shows maximum user exceeded max connection per hour
Worked like charm !!! You solved my trouble... Thankyou thankyou so much.... your hosting is really amazing......
Thank you :)
it doesnt work still... Does it take time after the password changes from conf. file?
Hello hollywoods magazine!!
No it doesn't take time after you change the password form wp-conf file. However you can try pressing ctrl+F5 to force an update, disregarding any cache. If it still not work then cross-check the database username, MySQL user, database password in the MySQL section as well as in the wp-config file. Ensure that the credentials should be same at both places.
Regards,
Team Redserverhost
Thanks a lot. Solved my problem for 3 websites perfectly.
Man thanks so much for this vital information, you don't know how I feel right now
We know that. Glad to read this.
This doesnt work for me. I've done this procedure so many times. I've created a testconnection.php just to check and credentials are ok but still this error comes up. Plus I have got missing tables wp_user, wp_options and wp_;links. What I am suppoosed to do? I have no generated backup
have you solved your problem? what was the problem? I am.having same problem
This happens when your database gets deleted or tables are missing.
If you don't have backup then we are sorry. This is irreparable.
Contact Redserverhost support team if wordpress hosting along with regular backups.
Watched a few but yours explained all the main points the others didn't working now cheers.
Thanks a lot. You guys motivate us. :)
Thanks buddy for provide this valuable information
I am using woozone when i importing products that showing errors "Error trying to add product to database" if you have this solution so do make video for this error. Thank you
I get this error daily...whats permanent solution??
If you are getting this error daily, then probably the reason is one of the below:
1. Someone is changing the password or wp-config.php file again and again.
2. Your server's database is restarted or goes down everyday.
3. Your internet connection is blocking connections with the database over the default port 3306.
The solution to your problems are:
1. Check your error_log file and cpanel > errors for possible errors.
2. Keep a check on the last logged in IP address which is shown in your cPanel.
3. Consult your hosting provider with the uptime of database server (SQL server).
4. Keep a check on last modified files inside cpanel > file manager > public_html
Hope these helps. Warm Regards - Team Red Server Host.
I dont understand. it is not working the same here.
I changed the port in Xamp from 3306 to 3307. Afterwards it has come showing "Error establishing a database connection." Need a help.
Dear Sandeep, This video tutorial was meant only for those who are using cPanel (REAL SERVER ) but not localhost or xamp.
Anyways, we can help you out. Do you have a hosting with Redserverhost.com
Atleast RED11 host
Wow....Finally, I solve the issue..Thanks Red Server
Give 1000000 like for the correct guidance
Thank you
Thank you so much sir I'm very happy to watch your video. Problem is solved. Thanks a lot!
It's perfect person for this problem.
Thank you :) Subscribe please ;)
it will work on subdomain also can we apply this steps on subdomain also
Yes. why not ! Also, We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.
What to do if I delete database by mistake?🥺please help
I tried this...but still not working
Then the problem can be in your web hosting server. Please transfer your server to our web hosting service. We will help you.
Its showing in a website, how to fix that?
when i try to open my sql or php i got thats message
adminbin Cpanel/cpmysql/DBCACHE: exit 255
My website is up, thank you so much for this video
Here also some problems in installing word press plz help
Thanks Man! Solved my issue...keep doing this Awesome Work!
Very thankful. Must visit redserverhost for such awesome services too.
can you help Can’t select database
How can I fix connection lost, saving has been disabled until you are reconnected.... Problem.
Thanks
Use tor browser. Or else open your root server, go to WHM >> Tweak settings. Disable cookies.
Hey there,
I already made all the changes and it still shows the same error....
Make sure you make changes to your password fully
'
Thanks a lot. I've fixed successfully with this tutorial
I followed steps but i still got the same problem , please your help
@juan Please change db password and write db name, db user, and db pass very carefully in wp-config.php file. Because this error mainly occurs only when one of the three things are wrong written in wp-config file.
Contact Redserverhost support team if still you are facing issue.
i love you sir... God just used you to save my life
Thank you.....
my problem not yet sloved. anyone can help me
Sure, Kindly specify the issue.
@@RedServerHost I solved. Too late reply??
thanks thanks thanks a lot.... love you very much brother. you just saved my life, hardwork. Just subscribed!!!
How tto know that database details
Today i solved my problem...thanks dear..
I can't explain you how much you hepled to me, lots of thanks to you for your help !!!
We are happy to read this.
Such a nice explanation👌👌.... Thank you very much Sir
hi i dont have the wp-config.php file? can you help
Hey jamie Thomas this is the only reason you are facing this error establishing database connection in your WordPress site because this wp-config file contains information about the database, username, and password. This information allows WordPress to communicate with the database to store and retrieve data.
You can either run your backups or the wp-config.php can be downloaded from here generatewp.com/wp-config/
As per my guess you are installing wordpress manually so you need to run the wordpress installer by visiting your wordpress url from your browser
Regards,
Team Redserverhost
Issue still not solved brother.. help me??
Please elaborate. What issue are you facing ?
Sure, We will help you. Just double cross check wp-config.php This file contails wrong db user and pass. We are sure, This is the main reason of your issue.
Please provide me link or your domain name where i can see this error.
@@RedServerHost
thanks brother for your concern.. but now it is solved. The issue occurred due database table got corrupted
ua-cam.com/video/3LAZE6EXo6g/v-deo.html
this video helped me..
भाई जो ब्लॉग डले हुवे थे वे वापिस नही आयगे मेरे से डेटा बेस डिलीट हो गया
If database is deleted, it cannot be recovered. Also, We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.
Thanks but it's not working?
Plz help me I can't fix it
brother there is no wpconfig.php in my publichtml folder ??
This means someone has deleted your wordpress installation files. Please reinstall wordpress by using softaculous.
Thank you. How can I upload previous crawled content post
This can only be done if you have them in your database. Check your backup. I those posts are present in PHPmyADMIN then only you wil be able to see those posts and its content.
Contact Redserverhost support team if still you are facing some major issue.
I can't explain you how much you hepled to me, lots of thanks to you for your help thank you bro
Really very thankful for the appreciation. We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.
Thank You so much sir, please carry on this great work...
very nice solution. Thank you very much for this video, this was very helpful for me
How to resolve following error
You are using your maximum allotment (1) of MariaDB/MySQL databases. If you want more, contact your service provider.
Gracias 2024 y aun funciona este dato !
Please help I have not any MySQL data base
Please buy a small web hosting package from Redserverhost.com
please send me a link to download the backroud music playing on this video...
Just search NCS in youtube.
Please help me my sql database not work
If you have followed the complete video correctly then the error would definitely be fixed. However if the error still remains then i would like to suggest you to check the services whether it is up or down. You can take the help of the link given below to check the service status in cPanel.
ua-cam.com/video/W26xigDQYeA/v-deo.html
This will help you to find the service status in you cPanel. If any service is down consult your hosting provider.
Regards,
Team Redserverhost
Not solve sir.. show same problem..
i was having error max questions value reached on my WP wordpress (free hosted by awardspace.com)
i did same as shown in video, i got my website working again !! THANKS :D
You cannot understand how happy it is to see problems getting solved for people like you. Thank you for the positive feedback and your valuable comment.
Tank you brother, 100%saved
Mine not working still giving the same issue
now its showing cant select databse
thank you very much .....it helped me like anything 1000 likes from my end
Thanks shahid amir for the feedback. Glad to hear the video really helped you.
Regards,
Team Redserverhost
thanks man, it really helped me
C pannel is paid
Helpfully video. Thank you.
Thanks bro... you re angel
Muchas gracias por el tutorial, un abrazo desde Peru
Your Awesome! THX
Thanks now working Wordpress
Thank you
Thank you so much Man!
God bless you. It works
Thankyou so much...it works for me
You are welcome.
Thank you very much, its resolved the problem
You're welcome.
Problem solved👍
Thanks a lot
Problem solved, thanks a lot!
Thanks for the feedback Paciej. Glad to hear it really worked, thanks for watching!
Regards,
Team Redserverhost
a lot of thanks Allah may you live long with a lot of happiness
It was really helpful for me
thanks boss you are good
Thank You for the appreciation, Warm Regards --- Team Red Server Host.
life saver dude, keep em coming
Thank you very much bro
thank you so much for tgis valuable video, thanks a lot buddy
Thank you very much. Subscribe our channel for ocean of such a knowledge.
Gracias me funciono!! 24-01-2020
Really very thankful for the appreciation. We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.
Thanks Man!
Yaar abb bhi kuch nahi hua
Thanks Sir...
Thank you so much !! :'))
thank you very much
thanks a lot.
Weldone bro
Love you brother
Thank you for the save!