Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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.×