Access Denied for User 'root'@'localhost' (using password : NO)

  Рет қаралды 555,023

RankYa

RankYa

Күн бұрын

Пікірлер: 866
@jonmeyer9022
@jonmeyer9022 5 жыл бұрын
I can't thank you enough - so many hours spent searching and you solved it in minutes!!
@hisatnam
@hisatnam 4 жыл бұрын
Same like you, I spent 4-5 hrs and then I found this video.
@saisudhakar5611
@saisudhakar5611 Жыл бұрын
yes bro i too so thank full, if i dont open mysql on 2days it may not open or if u click the run as administrator it will goes to get a big problem, the server is not working from 2days i thinking its server's problem , how to solve it i get whole night ache , if i create a new data base it show as well the server is error uff , thank full is not enough i can do a subscribe for this channel AFTER THIS VIDEO I GET A SOLUTION FOR IT THANK BRO @RankYa
@vengkateshdanapalan8836
@vengkateshdanapalan8836 4 жыл бұрын
Everywhere else made it complicated, yours was extremely straight forward!
@BienvirRuMa
@BienvirRuMa 4 жыл бұрын
I have an online programming exam today and I wouldn't connect the program to the database. Thank you, you rescue me from fail my degree!
@alailafernandez7271
@alailafernandez7271 4 жыл бұрын
Wow... I spent DAYS trying to fix this issue, following infinite quantity of instructions. THANK YOUU SO MUCH!!!
@98Destructo
@98Destructo 4 жыл бұрын
Man I wasted hours on this stuff. You did it in a minute. I love you man
@JasperEjoc
@JasperEjoc 5 жыл бұрын
Thank You Sir, I've been fixing this issue since yesterday, I haven't able to start my project because of this issue, you are a life saver!!!
@RankYa
@RankYa 5 жыл бұрын
Great to hear Jonn
@raghavsharma4842
@raghavsharma4842 3 жыл бұрын
Thank you so much for this. I have a project demo due and I got stuck because of this. Thanks for helping me solve this issue
@RankYa
@RankYa 3 жыл бұрын
Great to hear Raghav, keep in mind that there is more useful videos on RankYa KZbin channel for web developers
@alifirdaushm6811
@alifirdaushm6811 5 жыл бұрын
This really help me a lot of trouble. Thank you!
@YoungJeremy
@YoungJeremy 4 жыл бұрын
i cant help to feel its my mistake not to have subscribed to this channel the moment i first saw this video. thank you for the tutorial and you are really the best. be blessed
@gmyoutubebd2214
@gmyoutubebd2214 3 жыл бұрын
when i face this error i saw your video first and i overcome the problem. thank dear.
@maurobilotti
@maurobilotti 4 жыл бұрын
you're my hero!! I spent two days of headache after I found your video.
@RankYa
@RankYa 4 жыл бұрын
lovely
@Alfenijonas
@Alfenijonas 10 ай бұрын
You saved me a lot of time, so I am leaving this comment as a sign of gratitude. Thank you for the quick fix and help, after reading "documentation" and thinking about reinstalling the whole XAMPP.
@Alfenijonas
@Alfenijonas 10 ай бұрын
Yeah, but now I am getting an error while trying to set the password: "The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement"
@RankYa
@RankYa 10 ай бұрын
stackoverflow.com/questions/1708409/how-to-start-mysql-with-skip-grant-tables
@RankYa
@RankYa 10 ай бұрын
:-) all good
@CnRLanMi
@CnRLanMi 3 жыл бұрын
I can't thank you enough - so many hours spent searching and you solved it in a fcking minut, i was so fcking mad on this and reinstalling my server so many times and couldnt fix it, searching on every fcking forum and site and could fix it until i came on this video, youre a HERO MAN!
@RankYa
@RankYa 3 жыл бұрын
Great to hear all is fixed now
@ajmalmohammad2142
@ajmalmohammad2142 4 жыл бұрын
Thanks for the help RankYa! RESOLVED the issue right away
@RankYa
@RankYa 4 жыл бұрын
Thanks Ajmal
@slpiegehdt
@slpiegehdt 4 жыл бұрын
THANKSSSSS THIS WORKED, I SPENT 3 HOURS SEARCHING FOR IT
@mrobbins22
@mrobbins22 5 жыл бұрын
Thank you very much. I've been searching the web for hours to answer this one.
@redward4383
@redward4383 4 жыл бұрын
Thank you so muuuuch,i took me couple of hours to fix this stupid error,although i had issues with 'pma'@'localhost' and this worked like a charm
@HelloUltraGamerz
@HelloUltraGamerz 4 жыл бұрын
thank you very much, i spent all day figuring this thing out. you saved my life
@RankYa
@RankYa 4 жыл бұрын
Glad I could help!
@juanfextLOL
@juanfextLOL 4 жыл бұрын
Awesome Arigato RAnkYa you are more than galactic! i liked a lot Thanks!
@RankYa
@RankYa 4 жыл бұрын
Wow, thanks
@juanfextLOL
@juanfextLOL 4 жыл бұрын
@@RankYa im not joking i really appreciate it
@fierece2327
@fierece2327 6 жыл бұрын
Thaaaaaank you so much, you are genius i swear to god you are. I have been trying to change it and watched tons of videos in the past 3 hours, they were all stupid. Just confused me , you did it with one freaking STEP and 1 minute and 20 seconds !! You are an AWESOME GUY! Big thank you goes out from the bottom of my freaking heart
@RankYa
@RankYa 6 жыл бұрын
Thank you Rusul, I am glad this video did help
@gamen247
@gamen247 2 жыл бұрын
You are awesome been trying to fix this for hours!!! Great video I can't thank you enough.
@yiuchungtsfung2987
@yiuchungtsfung2987 5 жыл бұрын
Can you teach me how to create a dependent listbox? one listbox show class names and when one class is selected, the other will show the corresponding names of that class
@hoopitis10
@hoopitis10 3 жыл бұрын
Is there a difference from "Access denied for user 'D4'@'localhost' (using password: NO)"??
@bismadigitlalisma
@bismadigitlalisma 3 жыл бұрын
U got one more subscriber sir 👏👏👏🎉
@RankYa
@RankYa 3 жыл бұрын
Welcome aboard!
@adrianfelipearroyavetabare7239
@adrianfelipearroyavetabare7239 4 жыл бұрын
No creíamos en ti, pero nos salvaste, gracias Sr
@johnlandsom9764
@johnlandsom9764 5 жыл бұрын
It worked by letting phpMyAdmin log in, but now I don't see my existing database in phpMyAdmin or from MySQL Workbench. Work bench kicked up error at log in about limited access. Any ideas to why?
@Ahmed-wk9wi
@Ahmed-wk9wi 6 жыл бұрын
but i cant edit user privileges now there is a message says You do not have privileges to manipulate with the users!
@musicmaventv
@musicmaventv 2 жыл бұрын
Oh great! I messed up phpmyadmin root user account and I've been trying for days. I just got it here. Thanks for sharing 👍👌
@RankYa
@RankYa 2 жыл бұрын
Glad I could help!
@iwantchu9834
@iwantchu9834 3 жыл бұрын
but now if i try changing passwords it says it can't because of that statement in the my.ini file
@adeshadhau643
@adeshadhau643 4 жыл бұрын
This is not useful for MAMP for windows
@LYJManchesterUnited
@LYJManchesterUnited 3 жыл бұрын
I stupidly removed the root 127.0.0.1 and root ::1 now everything has error what should i do?
@jinuvarghese1283
@jinuvarghese1283 5 жыл бұрын
thanks brother this problem caused quite a lot of headache for me , now i can access myadmin. thanks man
@sakshisingh430
@sakshisingh430 4 жыл бұрын
Can you please tell me what you said after opening bin folder?
@Yondaime9322
@Yondaime9322 4 жыл бұрын
Nice video, greetings from Colombia! :)
@RankYa
@RankYa 4 жыл бұрын
Thanks Johan, greetings from Australia
@CSICyberside
@CSICyberside 5 жыл бұрын
great. this helps me a lot... question, why that happen?
@nikodimoskiros
@nikodimoskiros 4 жыл бұрын
hi i can the access to login by you method but when i tray to change the password logout it by it self so help me what is the next to do pleas
@amitmaurya4481
@amitmaurya4481 4 жыл бұрын
Thank you sir , I facing this issue I was not getting what is wrong, now finally resolved
@suzei5966
@suzei5966 2 жыл бұрын
You solved it with just one line, that was really useful - thank you so much :)
@RankYa
@RankYa 2 жыл бұрын
Glad it helped Suzei :-)
@kaxis_sama
@kaxis_sama 4 жыл бұрын
RankYa thanks, you really help me. Now I can continue my school project)
@civilviking7121
@civilviking7121 5 жыл бұрын
This only gets us halfway there. It doesn't explain why we had login issues to begin with, how to correct whatever went wrong, and/or how to move forward being able to remove that "skip" command. Now it has to be there permanently, and I guess we just shrug it off?
@RankYa
@RankYa 5 жыл бұрын
Hello Civil, that's correct, the video doesn't show why we get this error. Most people just want to know how to fix it. Anyhow, this is what MySQL help section suggests: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) It means a root password has already been assigned during installation and it has to be supplied. See Section 2.10.4, “Securing the Initial MySQL Account” dev.mysql.com/doc/refman/8.0/en/default-privileges.html on the different ways the password could have been assigned and, in some cases, how to find it. If you need to reset the root password, see instructions in Section B.4.3.2, “How to Reset the Root Password” dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html After you have found or reset your password, log on again as root using the --password (or -p) option: More insights can be found here dev.mysql.com/doc/refman/8.0/en/problems-connecting.html
@mezensboui4989
@mezensboui4989 4 жыл бұрын
You deserve it
@shwetasharma7029
@shwetasharma7029 3 жыл бұрын
Thank you so much. I was stuck with this problem for the last few days ..because of you I am finally succeeded
@RankYa
@RankYa 3 жыл бұрын
You're welcome Shweta I'm glad this video has now fixed the problem
@Kibigo
@Kibigo 3 жыл бұрын
Thanks man, last 2 hours whith tihis error hauntending me. This really help me.
@gabrielfono844
@gabrielfono844 3 жыл бұрын
sir I need your help everything works in my local machine but when I try to deploy this webapp online, It doesn't work I got that weird message "connection failedAccess denied for user 'root'@'localhost' (using password: NO)"; I would really appreciate your help
@RankYa
@RankYa 3 жыл бұрын
Sounds like an issue on the online web server user accounts. Did you create a user ATTACHED to the Database? If not do so, if so, then, make sure you double check *database user privileges* let us know the outcome please
@francescomendola
@francescomendola 4 жыл бұрын
thanks. you saved my over 100+ hours spent on a single website
@RankYa
@RankYa 4 жыл бұрын
Great to hear!
@juancrack97
@juancrack97 4 жыл бұрын
Thank you, I had this problem when I wanted to connect to the SQL server from another computer.
@maciofacio364
@maciofacio364 Жыл бұрын
Hello, I was struggling with that issue for hours, thank you for that video. Damn thank you !!!!
@roquecabunilas2934
@roquecabunilas2934 4 жыл бұрын
I can't find the "my.ini" in the xampp folder. What should I do?
@RankYa
@RankYa 4 жыл бұрын
search the entire folder its there
@BayYolal
@BayYolal 6 жыл бұрын
How about Raspberry Pi without Xampp?
@RankYa
@RankYa 6 жыл бұрын
I don't know
@senju31
@senju31 6 жыл бұрын
I appreciate you taking the time to make this video. However, I would like to know. How did you figure this out in the first place?
@senju31
@senju31 6 жыл бұрын
Please someone respond to this. I find the solution to arbitrary and my fear is that I will encounter some programming issue where there is no KZbin video or article online on how to resolve it and if so, I don't understand what methodology I should use or framework I should use to address such a possible issue or issues in the future.
@priyachaturvedi9381
@priyachaturvedi9381 4 жыл бұрын
Worked like a charm! Thank you so much!!!
@BronzbabeBronzbabe
@BronzbabeBronzbabe 6 жыл бұрын
Thank you so much for this! It is exactly what I needed, I'm definitely going to subscribe to learn more!
@EduardoCostaSantosdaSilva
@EduardoCostaSantosdaSilva 4 жыл бұрын
man this help me a lot... it's the most simple solution! thank you !
@omarelrafhi9595
@omarelrafhi9595 5 жыл бұрын
this saved me after many HOURS of trying with different stuff!
@phantasma669
@phantasma669 3 жыл бұрын
High level wizardry man thank you very much. You saved me much time and money:P
@RankYa
@RankYa 3 жыл бұрын
Glad I could help
@webextech9120
@webextech9120 5 жыл бұрын
thanks so much! I have fixed my database problem with your video instantly!!!
@AyushTiwari-ff1vi
@AyushTiwari-ff1vi 4 жыл бұрын
Thank you so much sir. It really worked .I have been stuck on this from last 5 days . Once again Thank you.
@AdvJindal
@AdvJindal 5 жыл бұрын
I am receiving this error: mysqli_real_connect(): Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.13-nt.
@RankYa
@RankYa 5 жыл бұрын
Have you tried to download the latest version?
@jasonheng2003
@jasonheng2003 2 жыл бұрын
omg finally after 2hours found one that works!thanks so much!
@RankYa
@RankYa 2 жыл бұрын
Glad I could help Jason, thanks for the comment
@anuumshahi495
@anuumshahi495 4 жыл бұрын
wow man...it really worked, i appreciate your help.
@monarcolab
@monarcolab 5 жыл бұрын
thanks a lot , teachers like you needed too much . thanks again man
@arnavvemula7621
@arnavvemula7621 4 жыл бұрын
UR A LIFESAVER
@elvin33321
@elvin33321 6 жыл бұрын
Hey I am using Ampps instead of XAMPP, how do I solve the same problem? There is no my.ini in the mysql bin folder and I am using a Macbook Pro
@RankYa
@RankYa 6 жыл бұрын
I am not sure, best to explore www.ampps.com/wiki/Main_Page
@andrewntow5315
@andrewntow5315 6 жыл бұрын
hello go to your lamp/etc you will see my.cnf thats the Mac equivalent for my.ini
@1gk
@1gk 4 жыл бұрын
no i get this message: #1034 - Index for table 'global_priv' is corrupt; try to repair it
@sokhriya
@sokhriya 3 жыл бұрын
sir please how I fix : Access Denied for user 'root'@'localhost' ( using password : NO ) in shared hosting
@RankYa
@RankYa 3 жыл бұрын
As long as you can access the core files, you can fix it. But I am certain that you can NOT access core files on shared hosting. The fact is, you should be able to just create your database without issues on shared hosting (I would contact the web hosting service provider)
@xCARPx2014
@xCARPx2014 2 жыл бұрын
WTF i literally spent HOURS just to be able to fix it this easy, thanks.
@mwasdex4311
@mwasdex4311 6 жыл бұрын
I wanna thank you so much bro. It really worked for me. You saved my project's nightmare. Thank you again.
@adarshshankar
@adarshshankar 4 жыл бұрын
When i submit the form it is stuck at loading "waiting for localhost" please help
@RankYa
@RankYa 4 жыл бұрын
Could be anything Adarsh, seems like the form is NOT sending (or is looping)
@tablastyles
@tablastyles 4 жыл бұрын
It reall worked . Thanks a lot for this simple configuration.
@AmandaInEly
@AmandaInEly 5 жыл бұрын
Does not work for me. On the other hand, I have 7 instances of my.ini on my tiny machine but only one version of mysql.
@RankYa
@RankYa 5 жыл бұрын
I would *cut and paste elsewhere* and just keep one to see if its populated again
@AmandaInEly
@AmandaInEly 5 жыл бұрын
@@RankYa oops, I had an existing and forgotten other instance of Mysql running. Sorry, RankYa. It works now.
@RankYa
@RankYa 5 жыл бұрын
Good to hear Amanda :-)
@herrdave920
@herrdave920 2 жыл бұрын
This is going to sound stupid, but I don't appear to have a My.ini in mysql>bin
@RankYa
@RankYa 2 жыл бұрын
Delete re-install and remember that the best way to learn better is to experiment without fear
@theNorixius
@theNorixius 4 жыл бұрын
Imagine searching for hours and hours then BAM, this video fixes my problem in 2 seconds.. hats off to you sir.
@RankYa
@RankYa 4 жыл бұрын
Great to hear, hats to you to for the comment :-)
@Jiayoujiayoulalalla
@Jiayoujiayoulalalla 2 жыл бұрын
thank you so much! You solved the problem!!!! Most useful solution that I have been searching for!
@RankYa
@RankYa 2 жыл бұрын
You're welcome Huei
@workflowteam1804
@workflowteam1804 6 жыл бұрын
Simple, easy and quick. Thanks...!
@jaxxrr
@jaxxrr 6 жыл бұрын
ok but now its sais no priviledges when I try to create a database
@danishzulkafli
@danishzulkafli 3 жыл бұрын
Thank You so much, it's really working. I'm very happy with my progress final year project.
@monicawughanga3338
@monicawughanga3338 2 жыл бұрын
after 5 months I finally found it! Thanks sir!
@RankYa
@RankYa 2 жыл бұрын
Glad I could help!
@NestorJoseGomez
@NestorJoseGomez 4 жыл бұрын
It worked!! Thanks from Argentina!! ;-)
@RankYa
@RankYa 4 жыл бұрын
Great to hear Néstor
@Cimex090
@Cimex090 5 жыл бұрын
how do you create a new account after this ? I can't pls help
@rukhsanatahira595
@rukhsanatahira595 3 жыл бұрын
Nice video. Really great man
@RJayMrsReach007
@RJayMrsReach007 2 жыл бұрын
Thank you soo much this was a headache for me :) got it working :D
@RankYa
@RankYa 2 жыл бұрын
Glad it helped!
@smworld78
@smworld78 4 жыл бұрын
Great help for my Semester project
@madushandesilva142
@madushandesilva142 5 жыл бұрын
Thank you very much sir for your video. It helped me a lot. ! You saved my day!!! :) (you've got a new subscriber)
@swennews7020
@swennews7020 4 жыл бұрын
You are Genius Sir... thanks thanks thanss sir 😘
@bazboz1468
@bazboz1468 6 жыл бұрын
its actually fuucking working !!! Thank u soo mush cuz i have wasted enough time on this Thanks a lot.
@polyxgo
@polyxgo 4 жыл бұрын
Thank you so much! You save my time today :D Thank you!!!
@beautifultest5918
@beautifultest5918 4 жыл бұрын
:(( i can not success with this way. Do you have any different way? thanks
@ErenYeager-qh3rl
@ErenYeager-qh3rl 4 жыл бұрын
Please help me Even after doing this I am getting same error When I click on admin(MySQL) the page is opening after that when I click anything (like new or reload) the error is coming please help sir
@RankYa
@RankYa 4 жыл бұрын
It could be many things, always smart to STOP & RESTART the server for troubleshooting, then you could try this stackoverflow.com/questions/17975120/access-denied-for-user-rootlocalhost-using-password-yes-no-privileges
@ErenYeager-qh3rl
@ErenYeager-qh3rl 4 жыл бұрын
@@RankYa when I use MySQL admin without internet it's working fine(I can create new database and data also saving) but when my pc is connected to internet MySQL admin not opening says access denied Do u know why ?
@RankYa
@RankYa 4 жыл бұрын
That sounds like IP address or network settings issue. Try these steps dev.mysql.com/doc/mysql-security-excerpt/8.0/en/problems-connecting.html and please let us know how you solved this
@freelancerhanip
@freelancerhanip 3 жыл бұрын
Thanks too much sir. I have been able!😍 And i have subcribed.
@RankYa
@RankYa 3 жыл бұрын
Welcome to RankYa KZbin channel :-)
@antyvobackup4052
@antyvobackup4052 4 жыл бұрын
This really help me a lot of trouble. Thank you!....
@antonizarafonitis8175
@antonizarafonitis8175 6 жыл бұрын
Hello there, I finally got in after your video but for some reason I get the "you do not have privileges to manipulate with the users" and I cannot see the edit privileges option. Please help.
@RankYa
@RankYa 6 жыл бұрын
*you do not have privileges to manipulate with the users* honestly I don't know what this is, never seen it before, but, for some reason its to do with privileges for the users, but the image you sent me suggests that ALL users in your account HAS ALL privileges. I would read through this github.com/phpmyadmin/phpmyadmin/issues/14433 as it seems others found solutions (towards the end of the page as well). Please do let us know the cause and solution when you fix it
@inovexa4039
@inovexa4039 4 жыл бұрын
You really dont know how much in in debt .... much Love from Sri Lanka
@RankYa
@RankYa 4 жыл бұрын
Thanks Inovexa, much love from Australia as well :-)
@bryanttello7142
@bryanttello7142 5 жыл бұрын
how would it be in mac?
@34merty76
@34merty76 4 жыл бұрын
ı clicked bin but that folder empty please help me
@prof_as
@prof_as 5 жыл бұрын
but i ma not able to access the user_accounts
@hansratzingerselbstandiger9786
@hansratzingerselbstandiger9786 4 жыл бұрын
Thank you! Great help! You have the only helpful solution I found. You saved me a lot of time!
@starman9190
@starman9190 5 жыл бұрын
still saying access denied!!! After I changed as recommended
@dagi_works
@dagi_works 5 жыл бұрын
same
@putramakatita8814
@putramakatita8814 2 жыл бұрын
When I watch your videos, I know it is a smart choice.
@RankYa
@RankYa 2 жыл бұрын
Thanks Putra, I too feel the same about #RankYa tutorials :-)
@bladeage
@bladeage 4 жыл бұрын
It worked!!! finally!!! Thank you!
@aravin14
@aravin14 4 жыл бұрын
THank YOU. Saved me 4 months work on Sage 50 software.
Putin Starts a New War / Secret Documents Caught on Video
12:31
NEXTA Live
Рет қаралды 408 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 361 М.
Solve PHPMyAdmin Access Denied for User (Top 2 Methods)
3:21
The Code City
Рет қаралды 37 М.
Find Information from a Phone Number Using OSINT Tools [Tutorial]
16:59
How to Reset MySQL Root Password on Windows
5:56
Clever Techie
Рет қаралды 693 М.
Coding "Snake" in 4 min 30 sec (plain browser JavaScript)
7:09
Chris DeLeon of HomeTeam GameDev (Brave Lighthouse, Gamkedo)
Рет қаралды 8 МЛН
How HACKERS Send Malware | DNS Spoofing
11:46
Cyb3rMaddy
Рет қаралды 62 М.