[Solved] SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
assalamualaikum so here we'll take a look how to  solve this one zero four five error now i'm on uh   mac computer and i'll also tell you how  to solve this issue on windows okay now   here take a look at our env file localhost  so here this is my local host address okay   and i'm using this database because it's localhost  and database name is this one and i'm sure my   username is root database username and this is the  password i'm sure so i'll run some php commands okay now i'll go ahead and try to  run it of course we need to serve okay now let's go ahead and try to run it  okay here we are done okay so most probably   the problem was this cache that the one we run  early okay so every time you get this error   access denied so i would suggest you to run this  okay run these commands and you should be good to   go but of course you need to make sure that your  database password and username they are correct   okay for windows most probably you don't have any  password if you use a xampp server okay with xampp   server you don't have any password but if you  use password you have to set it up okay thank you
Info
Channel: dbestech
Views: 84,461
Rating: undefined out of 5
Keywords: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES), access denied for user, mysql, access denied for user 'root'@'localhost'
Id: 10oEdoNIZdI
Channel Id: undefined
Length: 1min 44sec (104 seconds)
Published: Tue Jun 14 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.