vendredi 16 octobre 2015

Laravel Artisan: Using a remote database

I am using Laravel 5.1, trying to run php artisan migrate on my local computer. I have my .env file set up with the credentials of a remote database.

However, upon running, I get an error (replaced real details for security):

Access denied for user 'user'@'44.55.66.77' to database 'db_laravel'

It appears that for some reason, it is attempting to run the command on my local IP, which is 44.55.66.77 instead of the remote database. I have already tried allowing remote access to the database from my IP, however I am still having the same issue.

I have also already attempted to connect to the database using its IP, to no avail.

Thanks in advance for your help!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire