Error establishing a database connection error in wordpress [SOLVED]

Поделиться
HTML-код
  • Опубликовано: 4 май 2018
  • 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.

Комментарии • 230

  • @emmanueltimothy
    @emmanueltimothy 3 года назад

    wow... you saved me, i'm back in business. tomorrow i have a presentation and was getting worried. thanks a lot,

  • @AyuelMonykuch1
    @AyuelMonykuch1 2 года назад +1

    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.

  • @Hustlingnobles
    @Hustlingnobles Год назад +2

    Man thanks so much for this vital information, you don't know how I feel right now

    • @RedServerHost
      @RedServerHost  2 месяца назад

      We know that. Glad to read this.

  • @thiragithinji5317
    @thiragithinji5317 3 года назад +2

    Your video helped a huge deal. I am a new found subscriber on server issues.

  • @PiyushSharma-jz4ly
    @PiyushSharma-jz4ly 4 года назад

    You're amazing bhai 😘 bhagwan apko bohot sare bache de

  • @MrTechX
    @MrTechX 5 лет назад +1

    Thanks Man! Solved my issue...keep doing this Awesome Work!

    • @RedServerHost
      @RedServerHost  5 лет назад

      Very thankful. Must visit redserverhost for such awesome services too.

  • @gauravpratap1027
    @gauravpratap1027 6 лет назад +1

    Worked like charm !!! You solved my trouble... Thankyou thankyou so much.... your hosting is really amazing......

  • @chandrakantpatil7134
    @chandrakantpatil7134 4 года назад +2

    Such a nice explanation👌👌.... Thank you very much Sir

  • @ROSCOEV
    @ROSCOEV 5 лет назад

    Watched a few but yours explained all the main points the others didn't working now cheers.

    • @RedServerHost
      @RedServerHost  5 лет назад

      Thanks a lot. You guys motivate us. :)

  • @spugmarohom6038
    @spugmarohom6038 4 месяца назад

    WOAH . . . I was so nervous for the first time and after I had applied this video. NOW IT WORKS! Thank you so much.

  • @dormdevdiaries
    @dormdevdiaries 2 года назад +1

    Thanks a lot. I've fixed successfully with this tutorial

  • @nizasilwamba
    @nizasilwamba Год назад

    Thanks a lot. Solved my problem for 3 websites perfectly.

  • @corporatedeals1152
    @corporatedeals1152 3 года назад

    Wow....Finally, I solve the issue..Thanks Red Server

  • @MiguelEnriqueEncisoGonzales
    @MiguelEnriqueEncisoGonzales 4 года назад

    Muchas gracias por el tutorial, un abrazo desde Peru

  • @rashadmustafa
    @rashadmustafa 4 года назад +3

    I can't explain you how much you hepled to me, lots of thanks to you for your help !!!

  • @bdhomeohall
    @bdhomeohall 3 года назад

    very nice solution. Thank you very much for this video, this was very helpful for me

  • @golamkibria6919
    @golamkibria6919 3 года назад +2

    It's perfect person for this problem.

  • @deccancutietv1020
    @deccancutietv1020 3 года назад

    thanks thanks thanks a lot.... love you very much brother. you just saved my life, hardwork. Just subscribed!!!

  • @3rdtwirl494
    @3rdtwirl494 10 месяцев назад

    my website disapeared from the file manager. but i think i know the database can i just select check database ?

  • @sherazmushtaq
    @sherazmushtaq 2 года назад +1

    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?

  • @DAY-ht4go
    @DAY-ht4go 4 года назад

    Finally I could fix it. You saved me from paying $10 to a freelancer.

    • @RedServerHost
      @RedServerHost  4 года назад

      Glad to hear that Anupam Das, thanks for watching!
      Regards,
      Team Redserverhost

  • @jakapanduga7014
    @jakapanduga7014 3 года назад

    stil not work :" after typing my URL/cpanel, it didn't log into cpanel, instead to cwp. how to fix it?

  • @jovemlucrativo
    @jovemlucrativo 2 года назад

    Tank you brother, 100%saved

  • @mdsumonhossen6103
    @mdsumonhossen6103 2 года назад

    Helpfully video. Thank you.

  • @irohaemmanuellawrence2520
    @irohaemmanuellawrence2520 5 лет назад

    i love you sir... God just used you to save my life

  • @aniketkale449
    @aniketkale449 2 года назад

    Thank You so much sir, please carry on this great work...

  • @nampallyvarma
    @nampallyvarma 5 лет назад

    Thank you very much, its resolved the problem

  • @powerplay5271
    @powerplay5271 2 года назад

    Give 1000000 like for the correct guidance
    Thank you

  • @SaifulIslam-yc8rh
    @SaifulIslam-yc8rh 3 года назад

    Today i solved my problem...thanks dear..

  • @maynkkapoor5654
    @maynkkapoor5654 Год назад

    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

  • @naveedeseher
    @naveedeseher 2 года назад

    thanks man, it really helped me

  • @medihopehospitals
    @medihopehospitals 4 года назад +1

    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.

    • @RedServerHost
      @RedServerHost  4 года назад

      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.

  • @anmolsrivastava9206
    @anmolsrivastava9206 3 года назад +1

    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

    • @RedServerHost
      @RedServerHost  3 года назад

      Yes the guide will still work in this case as well.

  • @gauravchauhan1696
    @gauravchauhan1696 4 года назад +1

    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

    • @RedServerHost
      @RedServerHost  4 года назад +1

      get the db credential from destination server not source server.
      I mean, in which you are finally going to host.

    • @gauravchauhan1696
      @gauravchauhan1696 4 года назад

      @@RedServerHost ok now it's working

  • @ajaygarg8885
    @ajaygarg8885 3 года назад

    Bro I have done this same but yet problem not solved. It shows maximum user exceeded max connection per hour

  • @sreegunassorchondrobormon3918
    @sreegunassorchondrobormon3918 Год назад

    Thank you so much sir I'm very happy to watch your video. Problem is solved. Thanks a lot!

  • @shahidAli-ph1sr
    @shahidAli-ph1sr 4 года назад

    thank you very much .....it helped me like anything 1000 likes from my end

    • @RedServerHost
      @RedServerHost  4 года назад

      Thanks shahid amir for the feedback. Glad to hear the video really helped you.
      Regards,
      Team Redserverhost

  • @Speed-bi3kc
    @Speed-bi3kc 3 года назад

    if they asked me to reinstall wordpress should i do it.?

  • @KamranJameel
    @KamranJameel 3 года назад

    thank you very much

  • @dailyfayda9359
    @dailyfayda9359 2 года назад

    Problem solved👍
    Thanks a lot

  • @merijan3609
    @merijan3609 2 года назад

    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

  • @CelebrityTV24
    @CelebrityTV24 6 лет назад

    Thankyou so much...it works for me

  • @kushalparikh28oct
    @kushalparikh28oct 3 года назад

    Thank you for the save!

  • @SandeepSingh-dn8yj
    @SandeepSingh-dn8yj 5 лет назад

    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.

    • @RedServerHost
      @RedServerHost  5 лет назад

      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

  • @MackoHipHop
    @MackoHipHop 5 лет назад

    Problem solved, thanks a lot!

    • @RedServerHost
      @RedServerHost  4 года назад

      Thanks for the feedback Paciej. Glad to hear it really worked, thanks for watching!
      Regards,
      Team Redserverhost

  • @IrisRangel
    @IrisRangel 3 года назад

    gracias me sirvió mucho

  • @gauravpawar5055
    @gauravpawar5055 4 года назад

    thank you so much for tgis valuable video, thanks a lot buddy

    • @RedServerHost
      @RedServerHost  4 года назад

      Thank you very much. Subscribe our channel for ocean of such a knowledge.

  • @nodigas7001
    @nodigas7001 2 месяца назад

    Gracias 2024 y aun funciona este dato !

  • @KishorKumarGupta
    @KishorKumarGupta 4 года назад +1

    I can't explain you how much you hepled to me, lots of thanks to you for your help thank you bro

    • @RedServerHost
      @RedServerHost  4 года назад +1

      Really very thankful for the appreciation. We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.

  • @bikashcreation6583
    @bikashcreation6583 3 года назад

    thanks a lot.

  • @sheheryarahmed8481
    @sheheryarahmed8481 4 года назад

    It was really helpful for me

  • @aaryagkquiz4347
    @aaryagkquiz4347 Год назад

    Bhai hamne apne website per 70 post kiye the uske baad database errors aa rha h to aapke द्वारा बताया गया solution को करेंगे तो क्या वह सभी पोस्ट डिलीट हो जाएँगे ' plz reply

  • @karnatakagolfassociation3545
    @karnatakagolfassociation3545 Год назад

    Thank you

  • @AKZGALAXY
    @AKZGALAXY Год назад +1

    Your Awesome! THX

  • @taleemeahlebait689
    @taleemeahlebait689 3 года назад

    But my database not opening its showing the mysqlserver is currently offline

  • @raymi1
    @raymi1 4 года назад

    Gracias me funciono!! 24-01-2020

    • @RedServerHost
      @RedServerHost  4 года назад

      Really very thankful for the appreciation. We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.

  • @shahzebAli2001
    @shahzebAli2001 4 года назад +1

    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

    • @RedServerHost
      @RedServerHost  4 года назад

      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.

  • @gupsupkumar9587
    @gupsupkumar9587 4 года назад

    Here also some problems in installing word press plz help

  • @outofthebox361
    @outofthebox361 3 года назад

    Thank you very much!

  • @The_Caesar6186
    @The_Caesar6186 5 лет назад

    Thanks now working Wordpress

  • @deana8696
    @deana8696 5 лет назад

    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

    • @AndroidLegend
      @AndroidLegend 5 лет назад

      have you solved your problem? what was the problem? I am.having same problem

    • @RedServerHost
      @RedServerHost  5 лет назад

      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.

  • @Tadashi69420
    @Tadashi69420 2 года назад

    Very thanks ဆရာ

  • @hasnainriaz708
    @hasnainriaz708 2 года назад

    Thanks Man!

  • @Saad.Elrefaey
    @Saad.Elrefaey 2 года назад

    when i try to open my sql or php i got thats message
    adminbin Cpanel/cpmysql/DBCACHE: exit 255

  • @akashj.6154
    @akashj.6154 5 лет назад

    How can I fix connection lost, saving has been disabled until you are reconnected.... Problem.
    Thanks

    • @RedServerHost
      @RedServerHost  5 лет назад

      Use tor browser. Or else open your root server, go to WHM >> Tweak settings. Disable cookies.

  • @jacobmolekoa6106
    @jacobmolekoa6106 6 лет назад

    please send me a link to download the backroud music playing on this video...

  • @dwipadoe
    @dwipadoe 3 года назад

    thank u

  • @MaleeqBarz
    @MaleeqBarz 3 года назад +2

    life saver dude, keep em coming

  • @mounafikatv7952
    @mounafikatv7952 2 года назад

    great job thank you

  • @nothingspecialb
    @nothingspecialb 3 года назад

    Thank you so much ❤️

  • @techsearchbd1046
    @techsearchbd1046 2 года назад

    Thanks a lot bro

  • @softwaredeveloper9193
    @softwaredeveloper9193 3 года назад

    Weldone bro

  • @worldaffairs07
    @worldaffairs07 4 года назад

    it doesnt work still... Does it take time after the password changes from conf. file?

    • @RedServerHost
      @RedServerHost  4 года назад

      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

  • @explanationsite
    @explanationsite 2 года назад

    How tto know that database details

  • @alkakhushi2275
    @alkakhushi2275 3 года назад

    Thanks a lot

  • @oumaimaessaghraoui6326
    @oumaimaessaghraoui6326 2 года назад

    thank you verry match

  • @user-wo7un4sp2l
    @user-wo7un4sp2l Год назад

    Thanks bro... you re angel

  • @androgamerz48
    @androgamerz48 2 года назад

    Its showing in a website, how to fix that?

  • @linkofworld9698
    @linkofworld9698 3 года назад

    can you help Can’t select database

  • @paulosaxo607
    @paulosaxo607 2 года назад

    merci beaucoup!

  • @sheheryarahmed8481
    @sheheryarahmed8481 4 года назад

    Thank you soo much.

  • @iyanzeframes8214
    @iyanzeframes8214 3 года назад

    God bless you. It works

  • @DigiManako
    @DigiManako 5 лет назад

    Thank you. How can I upload previous crawled content post

    • @RedServerHost
      @RedServerHost  5 лет назад

      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.

  • @RIS_GAMER
    @RIS_GAMER Год назад

    thank youuuuuuuuuuuu broooooooooooooo

  • @maryamjaved4849
    @maryamjaved4849 9 месяцев назад

    Thank you so much Man!

  • @hemantkumardas3333
    @hemantkumardas3333 2 года назад

    Thanks Sir...

  • @saniaanwer2816
    @saniaanwer2816 3 года назад

    What to do if I delete database by mistake?🥺please help

  • @bahuluayu6342
    @bahuluayu6342 4 года назад

    thank you

  • @monsuralam2023
    @monsuralam2023 3 года назад

    thanks

  • @devaiah5915
    @devaiah5915 4 года назад

    Plz help me I can't fix it

  • @varakiran158
    @varakiran158 5 лет назад

    thank you boss....it's working.

    • @RedServerHost
      @RedServerHost  5 лет назад

      Wow.. Warm Regards.
      _ Team Redserverhost

  • @ArtofStudiesVoiceofStudent
    @ArtofStudiesVoiceofStudent 5 лет назад

    thhnx dear

  • @willem878
    @willem878 6 лет назад +1

    It's an easy fix if you know whjat to do. ;-) thanks.

  • @uttammanna938
    @uttammanna938 3 года назад

    thanks it worked

  • @saminshohel4579
    @saminshohel4579 3 года назад

    Love you brother

  • @euanthony
    @euanthony 4 года назад

    Thank you sooooooooo much!

    • @RedServerHost
      @RedServerHost  4 года назад

      You're welcome Anthony Eze.
      Regards,
      Team Redserverhost

  • @samsiddique4751
    @samsiddique4751 4 года назад +2

    solved thanks a lot.

  • @abubakarbhatti844
    @abubakarbhatti844 Год назад

    Thank You!

  • @syedraghib8279
    @syedraghib8279 4 года назад +1

    it will work on subdomain also can we apply this steps on subdomain also

    • @RedServerHost
      @RedServerHost  4 года назад

      Yes. why not ! Also, We keep on uploading such helpful contents. Subscribe our channel to be in touch with us.

  • @solemanoffi
    @solemanoffi 5 лет назад +2

    ohh man ! lastly solve the issue