I am trying to login on my website which is built in laravel 5.2 but I am getting this error of access denied for user on my live web server. I have also put credentials in .env file that are shown below:
APP_URL=http://lagaikhaiexchange.com
    
    DB_CONNECTION=mysql
    DB_HOST=lagaikhaiexchange.com
    DB_PORT=3306
    DB_DATABASE=mydatabase
    DB_USERNAME=myuser  
    DB_PASSWORD=mypassword
and I also gave the all privileges to user lagaikha_cricketuser But I am unable to find that why my application is not connecting to database. Although On localhost, the same code working fine and doing everything. Any help would be appreciated... Thank you
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire