Answer the question
In order to leave comments, you need to log in
Why does it say using password: NO when connecting?
When querying, the error
"SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: insert into `users` (`name`, `email`, `password`, `updated_at`, `created_at`) values (testewqeweq, [email protected], $2y$10$KYqc7yZ.IPSG5H85n/HlS.YWeEWR1Xjc2VO.DVGA6y/DlE0ejCOF., 2020-05-05 10:10:26, 2020-05- 05 10:10:26))"
But at the same time I have a password for root in mysql. How to fix it? If you remove the password in .env, of course, nothing works. In tinker I wrote config('database.connections.mysql') and there is a password there
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question