I uploaded laravel 5.5 to the server and updated the .env file with the database credentials but anytime the app tries to make connection with the database i get Access denied for user.
Note: i can login to PhpMyAdmin using the same credentials.
my env looks like this:
@tomopongrac when the DB_HOST is changed to localhost the connection is refused by the server
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. (SQL: select * from `users` where `username` = ntagoe limit 1)
@RamjithAp i can login to phpmyadmin using the same credentials. i have tried all that but anything other than this DB_HOST=mysql5019.smarterasp.net throws this error SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. (SQL: select * from `users` where `username` = ntagoe limit 1)