Fix: MySQL ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password:YES) on Mac

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys welcome to amit things in this video we will see how we can fix the error one zero four five that is access denied for user root at the rate of localhost using password yes on our mac os so it's very easy to fix it here open your mac go to the apple sign click on it now click on system preferences from here guys search mysql click on my sql so you must have reached mysql and the same is visible click on initialize database herein enter a new password or if you haven't entered the password still enter a password here after that click on ok now enter your mac password click on ok again okay now let's minimize this and go to the terminal you can go to spotlight search and type terminal open it now herein guys type cd space the path we will mention the part in the description as well herein we have entered the path the mysql bin path press enter now type here in mysql is a command here in my sequel minus u is for user which is root and minus n minus p is for password press enter enter the password the new password which you just entered we have entered it it won't be visible here because it's the password
Info
Channel: Amit Thinks
Views: 44,873
Rating: undefined out of 5
Keywords: error 1045, mysql, root, localhost, password, mac, error 28000, access denied error, 2021, how to fix
Id: vRrbNi1rtlo
Channel Id: undefined
Length: 2min 8sec (128 seconds)
Published: Thu Mar 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.