How to Fix " Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost "

How to fix php error "Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES" .

Пікірлер: 62

  • @one7724
    @one7724 Жыл бұрын

    For those who didnt work.. You can see the guy do tutorial ,his port is localhost:8080, meaning he has change the port from default 80 to 8080.Seems he had this problem kzread.info/dash/bejne/m6SBx8akmrDboNo.html before To solve ths problem, for host name use 'localhost:3307' instead of "localhost' or 'localhost:3306' instead of 'localhost'..The video didn't work for me but this did wonders.

  • @X2hassan

    @X2hassan

    4 ай бұрын

    Hero

  • @husseinbakeer8397

    @husseinbakeer8397

    3 ай бұрын

    bro you literally saved my life thnxxxxx

  • @hasithaarmy3301

    @hasithaarmy3301

    3 ай бұрын

    Thank you so much bro😊

  • @davidbeckham5722

    @davidbeckham5722

    2 ай бұрын

    savior is here🤩

  • @ateja8727

    @ateja8727

    22 күн бұрын

    Anna you are God 🙏🏻

  • @aw7292
    @aw72922 жыл бұрын

    Oh my gosh. I was doing a homework assignment and I was having trouble accessing a php document and this was my problem. I'm so glad I finally found this video! Thank you!

  • @nickpetrushkin6139
    @nickpetrushkin61394 жыл бұрын

    You are life saver for sure! I have been trying to fix this issue for almost two days until I found your video. Thanks!

  • @samexplores9821

    @samexplores9821

    4 жыл бұрын

    Thanks man please hit subscribe button.

  • @karmillaschreger6546
    @karmillaschreger65462 жыл бұрын

    my password is defined as "" but still gives me the same error though

  • @crustycheese898
    @crustycheese8984 жыл бұрын

    Thanks i was stuck at this problem but good thing i found your video! Thumbs Up!

  • @samexplores9821

    @samexplores9821

    4 жыл бұрын

    Thanks man

  • @muhammadzafar2470

    @muhammadzafar2470

    4 жыл бұрын

    same situation .

  • @alexmercer3596
    @alexmercer35968 ай бұрын

    Thank you so much i watched over 50 different videos on how to correct this issue but this is the only on that helped

  • @TECHIEE0709
    @TECHIEE07093 жыл бұрын

    This is not working.. Still the same problem occur

  • @savinduruhunuhewa9753
    @savinduruhunuhewa9753 Жыл бұрын

    grand bro, I tried to solve this error two days. and only your video help me to solve this error. keep this task continue

  • @matthew7910
    @matthew79104 жыл бұрын

    I'm still stuck. I don't have a password set, but it still tells me access denied. Does anyone know what to do?

  • @danielquispeunsihuay5215

    @danielquispeunsihuay5215

    4 жыл бұрын

    sameeee

  • @zwemanhtet5308

    @zwemanhtet5308

    3 жыл бұрын

    @@danielquispeunsihuay5215 same here may be it has to do something about free webhosting things

  • @chinmoybera4227

    @chinmoybera4227

    Жыл бұрын

    Same condition. Anyone know, please comment🙏.

  • @revelinohaseb5947
    @revelinohaseb59472 жыл бұрын

    But my I put nothing in my password but I'm still getting that error 😔

  • @cutnailafadiafiadharma6454

    @cutnailafadiafiadharma6454

    2 жыл бұрын

    ME TOO

  • @Matchadvmp
    @Matchadvmp3 жыл бұрын

    it did not work for me

  • @wiktor5479
    @wiktor5479 Жыл бұрын

    I've been struggling with it for so long like dumbass ... god bless you!

  • @8bits5
    @8bits52 жыл бұрын

    Worked, thank you, great video!

  • @samexplores9821

    @samexplores9821

    2 жыл бұрын

    You're welcome!

  • @hamzaansari1648
    @hamzaansari16482 жыл бұрын

    What if my website is hosted ??? Plz help me 🥺

  • @gurtejtiwana6242
    @gurtejtiwana62424 жыл бұрын

    removing the password for localhost root definitely helped

  • @samexplores9821

    @samexplores9821

    4 жыл бұрын

    thanks

  • @thisisme3276
    @thisisme32763 жыл бұрын

    thank you bro , wow i almost cry

  • @abdallahkaladz7309
    @abdallahkaladz73092 жыл бұрын

    what should i do to have password without this error

  • @Aman34447
    @Aman344473 жыл бұрын

    Bhai yar kya cheez ho tum Mast yar

  • @thespiritualjourney369
    @thespiritualjourney3693 жыл бұрын

    now, where the fuck do i find add1.php? i dont have one!!.

  • @muhammadzafar2470
    @muhammadzafar24704 жыл бұрын

    Thanks i was stuck at this problem but good thing i found your video! Thumbs Up! thnak you for helping tutorial . very neat and friendly tutorial

  • @samexplores9821

    @samexplores9821

    4 жыл бұрын

    thanks man do not forget to hit subsribe button

  • @adarshkumarsingh4501
    @adarshkumarsingh45013 жыл бұрын

    not working

  • @zhixinzheng880
    @zhixinzheng8802 жыл бұрын

    !! saved my life!!! Great Thanks!!!

  • @samexplores9821

    @samexplores9821

    2 жыл бұрын

    You're welcome!

  • @sujeetvishwakarma5151
    @sujeetvishwakarma51519 ай бұрын

    Thanks Maan

  • @briangonzalez7849
    @briangonzalez78493 жыл бұрын

    Te amo un chingo muchas gracias

  • @karlam.aguillon7039

    @karlam.aguillon7039

    3 жыл бұрын

    X2

  • @thengo1765
    @thengo1765 Жыл бұрын

    you save my life, tks so much

  • @ShivamKendre-fc3su
    @ShivamKendre-fc3su3 жыл бұрын

    thank you love from India

  • @dagimal
    @dagimal3 жыл бұрын

    thanks!!! :D

  • @sanhajiproduction
    @sanhajiproduction3 жыл бұрын

    Thank you SO much

  • @ahmedelbaz5125
    @ahmedelbaz51253 жыл бұрын

    thank you

  • @nawelfardeheb5657
    @nawelfardeheb56573 жыл бұрын

    thank you sm omg

  • @CrazyAshu34
    @CrazyAshu343 жыл бұрын

    working (^_-) Thnxx

  • @pritomsarkar2605
    @pritomsarkar26053 жыл бұрын

    thanks

  • @ravindragajje6975
    @ravindragajje69753 жыл бұрын

    super

  • @sahilmakwana2702
    @sahilmakwana27023 жыл бұрын

    thxx it's work

  • @ur_myducky
    @ur_myducky11 ай бұрын

    thank you!

  • @Gollum69
    @Gollum692 жыл бұрын

    thank yu

  • @samexplores9821

    @samexplores9821

    2 жыл бұрын

    Welcome

  • @zorachi7872
    @zorachi78722 жыл бұрын

    Dislike

  • @azrina1230
    @azrina12304 жыл бұрын

    thank you

  • @samexplores9821

    @samexplores9821

    4 жыл бұрын

    Your Welcome Please Do not forget to subscribe channel to get more helpful video like this.

  • @therdp6
    @therdp62 жыл бұрын

    thank you

  • @samexplores9821

    @samexplores9821

    2 жыл бұрын

    You're welcome