0
When I send my form, after processing the data in the save method of the Laravel the following error happens:
QueryException in Connection.php line 769:
SQLSTATE[HY000] [2002] Connection refused (SQL: insert into `users` () values ())
What is the solution to this? Thank you.
http://answall.com/questions/laravel-erro-conex%C3%a3o-with-database
– Bacco
Is using linux?
– Wallace Maxters
I am, and Docker tbm
– Pedro Soares
You have privileges with this Insert user ?
– Diego Souza
It’s a new application, didn’t I set privileges for that? I’m starting with Laravel, this is a problem I came across in the first attempt to insert a die into the bank
– Pedro Soares
How you are passing the data to the Eloquent object, and how Oce is sending the save?
– Mauricio Wanderley Martins
So, I use the Insert
– Pedro Soares
But my problem was setting up apache by Docker
– Pedro Soares
but I gave it up, installed the shampoo and now I’m using it normally. However, I would love to know step by step how to build a Docker environment where a Lockable application is very welcome
– Pedro Soares