Connect Laravel Project at local device to a mysql droplet at DigitalOcean
I am trying to run migrations from my local device to digital oceans DB.
I have sat up a PHPmyAdmin account and an mysql account.
In Laravel settings:
DBHOST=[IP address of my phpmyadmin droplet]
I try to run a migration but its providing me with the following:
Host ‘xx.xxx.xxx.xxx’ is not allowed to connect to this MySQL server
The user I am using has been fully granted all privileges.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.