Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ThinkingMan's avatar

AWS MySQL Connection

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)

0 likes
2 replies
ThinkingMan's avatar

That was one of my troubleshooting techniques. I originally allowed just my IP but in troubleshooting opened up to ALL. No go...

Please or to participate in this conversation.