PDOException : SQLSTATE[HY000] [2006] MySQL server has gone away

Hello everyone!
I have a problem which is about the migrations
i just have set up my mySQL database named ‘ausatelhelp_db'
 
APP_NAME="Ausatel Help"
APP_ENV=local
APP_DEBUG=true
APP_URL=[url=http://localhost]http://localhost[/url]

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=8080
DB_DATABASE=ausatelhelp_db
DB_USERNAME=root
DB_PASSWORD=
this is the configuration
of the .ENV
and when i run php artisan migrate it happends nothibg
i have been googling about that but couldnt find the solution
(i don’t neither receive a single error message)
WELL!!!
after 5 min waiting i have this error message:
PDOException : SQLSTATE[HY000] [2006] MySQL server has gone away
You already invited:

Hettenbach

Upvotes from:

8080 is an unusual port for a MySQL server, are you sure this is correct for your set-up?

Saleem Hussein

Upvotes from:

It is normal to have so many root users; each one has a different remote address with which it is associated.
(for authentication to proceed, the username and the remote address both must match)
In reality, you have only one root user, but he's allowed to authenticate from three different remote addresses

If you wanna answer this question please Login or Register