Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when import sql file Lost connection to server during query #35

Open
zhouitpro opened this issue Sep 18, 2021 · 0 comments
Open

when import sql file Lost connection to server during query #35

zhouitpro opened this issue Sep 18, 2021 · 0 comments

Comments

@zhouitpro
Copy link

ERROR 2013 (HY000) at line 2239 in file: '/Users/zhouitpro/Downloads/database.sql': Lost connection to server during query
ERROR 2006 (HY000) at line 2240 in file: '/Users/zhouitpro/Downloads/database.sql': Server has gone away
No connection. Trying to reconnect...
ERROR 2013 (HY000) at line 2240 in file: '/Users/zhouitpro/Downloads/database.sql': Lost connection to server at 'handshake: reading initial communication packet', system error: 35
ERROR at line 2240 in file: '/Users/zhouitpro/Downloads/database.sql': Can't connect to the server

No connection. Trying to reconnect...

my docker-compose.yml

version: "3"
services:
  mariadb:
    image: wodby/mariadb:10.5
    container_name: mariadb
    ports:
      - 3306:3306
    volumes:
      - ./mariadb-data:/var/lib/mysql:cached
    restart: always
    environment:
      TZ: 'Asia/Shanghai'
      MYSQL_ROOT_PASSWORD: "root"
      MYSQL_ROOT_HOST: "%"
      MYSQL_INNODB_BUFFER_POOL_SIZE: 1G
      MYSQL_MAX_ALLOWED_PACKET: 2G
      MYSQL_INNODB_FILE_FORMAT: barracuda
      MYSQL_TMP_TABLE_SIZE: 512M
      MYSQL_CONNECT_TIMEOUT: 3000
      MYSQL_INNODB_LOCK_WAIT_TIMEOUT: 3000
      MYSQL_TRANSACTION_ISOLATION: READ-COMMITTED
networks:
  default:
    external:
      name: proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant