Sep 30, 2022
0
Level 6
MariaDB fails connection on production in laravel vapor
I have a project with Laravel 9 that has to connect with a maria DB database (this is not the main database), in my local environment (with laravel sail) works, but when I try to run the same query from the production (application deployed with vapor) it gives this error: SQLSTATE[HY000] [2006] MySQL server has gone away.
As configuration, I use the same as MySql.
Can anyone help me?
thanks.
Please or to participate in this conversation.