mercredi 29 novembre 2017

Laravel connect to Cloud Database no works

my problem is i have laravel APP on my Local Enviroment and i m trying to connect to Cloud based mysql server

Laravel 5.5

i changed my .env file

example :

DB_HOST=46.229.230.***
DB_PORT=3306
DB_DATABASE=name
DB_USERNAME=nameuser
DB_PASSWORD=passuser

but i getting this error and idk why it trying to loggin to 158..... server is restarted database 100% working connect with mysqli works perfect

SQLSTATE[HY000] [1045] Access denied for user 'nameuser'@'158.193.105.***' 

any help ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire