Go to RDS -> Databases -> {your db} -> Security group rules and check inbound rules.
Just for checking purpose, make the traffic open to all AWS RDS Inbound Rules - Open to All Traffic
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am using a Forge deployed AWS server and have deployed a Laravel project with MySQL. I need to connect to the AWS database and have tried to follow the instructions provided from the Forge help docs (https://forge.laravel.com/docs/1.0/resources/databases.html#connecting-to-a-database-gui-client). After a couple hours of digging I still cannot get it to connect. I am able to SSH using TablePlus and DBeaver but I get errors back.
TablePlus states has the error mentioned here https://tableplus.com/blog/2019/10/lost-connection-mysql-reading-initial-communication-package.html
DBeaver has the error mentioned here https://eu.pythonanywhere.com/forums/topic/20/
Anoyone have a solution?
(Looks like someone else here had the same problem but I don't see a posted solution. https://laracasts.com/discuss/channels/forge/remote-database-aws-ec2-instance)
Please or to participate in this conversation.