I have my .env file configured with the remote DB credentials and its working on my local computer.
When I deploy the app to our dev server in the same page returns
SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from `table_companies`)
Is there a command that I'm missing? Why if my .env us using our cloudways database credentials is saying homestead'@'localhost?