browser error: SQLSTATE [HY000] [1045] Access denied for user "root"@"localhost" (using password: NO)
I successfully connected to the database with navicat, the user name is root, password is the password set when installing mysql, and the framework uses tp5,
to find many methods that do not work. How to solve it?