Skip to content

MySQL server has gone away in Windows #403

Closed
@neoacevedo

Description

@neoacevedo

I have webdevops/php-apache-dev:8.0 and latest mariadb images docker, running in Windows.

My issue: when I run a Laravel or Yii2 migration via console (docker exec -ti php-container php artisan migrate for Laravel, docker exec -ti php-container php yii migrate for Yii2), I always get in error MySQL server has gone away, but it happens only when my docker images are in Windows, but if I run the same docker-compose file in Linux, it runs the commands without any issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions