I am currently working on a Laravel project. I did the implementation on a shared server, but I get the error message SQLSTATE [HY000] [1045] Acceso denegado para el usuario 'root' @ 'localhost (usando la contraseña: NO)
The project in Local works correctly for me, but in the server it is limited only to the error. I set the environment variables in my .env file to the corresponding data.
I think the server probably does not read the .env file and that's why the problem arises. Does anyone know what can be done?
I repeat: I changed the data that I had in local by my production data.
Thanks!