F
Filamentβ€’2y ago
Ninja++

SQLSTATE[HY000] [1045] Access denied for user '

I am trying to log in with the new filiment user i have created, however even though i have acess to the db via my SQL viewer it will not allow me to even render the page anymore. If anyone knows what i am doing wrong i could really use the help, thanks you.
12 Replies
Tin
Tinβ€’2y ago
Well, your DB is denying the connection your filament App is tryng to make make sure you configure the connection parameters in your .env file correctly
Solution
Tin
Tinβ€’2y ago
Ninja++
Ninja++OPβ€’2y ago
So it turns out i have to use the same password that i did when i installed the MySQL into my system then it worked again
Tin
Tinβ€’2y ago
Nice
Ninja++
Ninja++OPβ€’2y ago
idk why it stopped working in the first place all i did was walk away came back and it denied me entry, how do i know that will not happen again?
Tin
Tinβ€’2y ago
Well, don't walk a way! Common mistake πŸ˜„
Ninja++
Ninja++OPβ€’2y ago
Is it to do with Session Lifetime?
Tin
Tinβ€’2y ago
Hmm, does not seems like it in the first place Are you sure this did not happen before?
Ninja++
Ninja++OPβ€’2y ago
Yes its never happened before But i am a very new and bad user tbh
Tin
Tinβ€’2y ago
Keep your head up! it probably wont happen again πŸ™‚ But if it does, you know what to do πŸ˜„
Ninja++
Ninja++OPβ€’2y ago
Thank you for your help Tin
Tin
Tinβ€’2y ago
Cheers 🍻

Did you find this page helpful?