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

Docker image for 5.7.37 fails to start #844

Closed
fedinskiy opened this issue Apr 21, 2022 · 4 comments
Closed

Docker image for 5.7.37 fails to start #844

fedinskiy opened this issue Apr 21, 2022 · 4 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@fedinskiy
Copy link

If 5.7.37 container started through docker, it fails with ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111).
Docker images for 5.7.36 work flawlessly on the same hardware.

How to reproduce:
Run docker run --name my37 -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:5.7.37 (It works the same way with -d option)
This works fine: docker run --name my36 -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:5.7.36

Docker version:

 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:48:41 2022
 OS/Arch:           linux/amd64
 Context:           default

@wglambert
Copy link

I'm not able to reproduce an issue with connecting using the unix socket

$ docker run -d --name my37 -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:5.7.37
Unable to find image 'mysql:5.7.37' locally
5.7.37: Pulling from library/mysql
4be315f6562f: Pull complete
96e2eb237a1b: Pull complete
8aa3ac85066b: Pull complete
ac7e524f6c89: Pull complete
f6a88631064f: Pull complete
15bb3ec3ff50: Pull complete
ae65dc337dcb: Pull complete
291c7612f7a8: Pull complete
ffdc84226e0b: Pull complete
81340df4a52c: Pull complete
f3ec63f52b87: Pull complete
Digest: sha256:151ecb87a07404f2c2588464e86381bdf74795c6d24090f9c50bc8e947a57797
Status: Downloaded newer image for mysql:5.7.37
b95637a8679f1b877ad4fea10f9c9ce7ec9ef3cfeeed5d702cf67f477c8a6f2f

$ docker exec -it my37 mysql -u root -p -S /var/run/mysqld/mysqld.sock
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.37 MySQL Community Server (GPL)

Copyright (c) 2000, 2022, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
docker logs
$ docker logs my37
2022-04-21 16:29:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.37-1debian10 started.
2022-04-21 16:29:17+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-04-21 16:29:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.37-1debian10 started.
2022-04-21 16:29:17+00:00 [Note] [Entrypoint]: Initializing database files
2022-04-21T16:29:17.685585Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-04-21T16:29:18.033917Z 0 [Warning] InnoDB: New log files created, LSN=45790
2022-04-21T16:29:18.100988Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2022-04-21T16:29:18.158572Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 30e7b4ef-c190-11ec-bfe4-0242ac110002.
2022-04-21T16:29:18.159551Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2022-04-21T16:29:18.847265Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
2022-04-21T16:29:18.847314Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
2022-04-21T16:29:18.848166Z 0 [Warning] CA certificate ca.pem is self signed.
2022-04-21T16:29:18.922430Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2022-04-21 16:29:21+00:00 [Note] [Entrypoint]: Database files initialized
2022-04-21 16:29:21+00:00 [Note] [Entrypoint]: Starting temporary server
2022-04-21 16:29:21+00:00 [Note] [Entrypoint]: Waiting for server startup
2022-04-21T16:29:21.421453Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-04-21T16:29:21.428840Z 0 [Note] mysqld (mysqld 5.7.37) starting as process 78 ...
2022-04-21T16:29:21.437852Z 0 [Note] InnoDB: PUNCH HOLE support available
2022-04-21T16:29:21.437896Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2022-04-21T16:29:21.437902Z 0 [Note] InnoDB: Uses event mutexes
2022-04-21T16:29:21.437906Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2022-04-21T16:29:21.437910Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-21T16:29:21.437914Z 0 [Note] InnoDB: Using Linux native AIO
2022-04-21T16:29:21.438337Z 0 [Note] InnoDB: Number of pools: 1
2022-04-21T16:29:21.438662Z 0 [Note] InnoDB: Using CPU crc32 instructions
2022-04-21T16:29:21.442470Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2022-04-21T16:29:21.457947Z 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-21T16:29:21.463805Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2022-04-21T16:29:21.480094Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2022-04-21T16:29:21.496732Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-21T16:29:21.496849Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-21T16:29:21.542507Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-04-21T16:29:21.543381Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2022-04-21T16:29:21.543403Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2022-04-21T16:29:21.543996Z 0 [Note] InnoDB: Waiting for purge to start
2022-04-21T16:29:21.594235Z 0 [Note] InnoDB: 5.7.37 started; log sequence number 2749976
2022-04-21T16:29:21.594777Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2022-04-21T16:29:21.595115Z 0 [Note] Plugin 'FEDERATED' is disabled.
2022-04-21T16:29:21.597456Z 0 [Note] InnoDB: Buffer pool(s) load completed at 220421 16:29:21
2022-04-21T16:29:21.607832Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2022-04-21T16:29:21.607865Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2022-04-21T16:29:21.607872Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
2022-04-21T16:29:21.607875Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
2022-04-21T16:29:21.608494Z 0 [Warning] CA certificate ca.pem is self signed.
2022-04-21T16:29:21.608537Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2022-04-21T16:29:21.610161Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2022-04-21T16:29:21.619831Z 0 [Note] Event Scheduler: Loaded 0 events
2022-04-21T16:29:21.620293Z 0 [Note] mysqld: ready for connections.
Version: '5.7.37'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
2022-04-21 16:29:22+00:00 [Note] [Entrypoint]: Temporary server started.
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.

2022-04-21 16:29:23+00:00 [Note] [Entrypoint]: Stopping temporary server
2022-04-21T16:29:23.881404Z 0 [Note] Giving 0 client threads a chance to die gracefully
2022-04-21T16:29:23.881445Z 0 [Note] Shutting down slave threads
2022-04-21T16:29:23.881450Z 0 [Note] Forcefully disconnecting 0 remaining clients
2022-04-21T16:29:23.881460Z 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-04-21T16:29:23.881560Z 0 [Note] Binlog end
2022-04-21T16:29:23.882250Z 0 [Note] Shutting down plugin 'ngram'
2022-04-21T16:29:23.882275Z 0 [Note] Shutting down plugin 'partition'
2022-04-21T16:29:23.882279Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2022-04-21T16:29:23.882282Z 0 [Note] Shutting down plugin 'ARCHIVE'
2022-04-21T16:29:23.882284Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2022-04-21T16:29:23.882357Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2022-04-21T16:29:23.882361Z 0 [Note] Shutting down plugin 'MyISAM'
2022-04-21T16:29:23.882375Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2022-04-21T16:29:23.882389Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2022-04-21T16:29:23.882393Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2022-04-21T16:29:23.882397Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2022-04-21T16:29:23.882401Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2022-04-21T16:29:23.882405Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2022-04-21T16:29:23.882408Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2022-04-21T16:29:23.882448Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2022-04-21T16:29:23.882451Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2022-04-21T16:29:23.882453Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2022-04-21T16:29:23.882455Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2022-04-21T16:29:23.882457Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2022-04-21T16:29:23.882459Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2022-04-21T16:29:23.882462Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2022-04-21T16:29:23.882464Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2022-04-21T16:29:23.882466Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2022-04-21T16:29:23.882468Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2022-04-21T16:29:23.882470Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2022-04-21T16:29:23.882472Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2022-04-21T16:29:23.882474Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2022-04-21T16:29:23.882476Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2022-04-21T16:29:23.882478Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2022-04-21T16:29:23.882480Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2022-04-21T16:29:23.882483Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2022-04-21T16:29:23.882485Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2022-04-21T16:29:23.882486Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2022-04-21T16:29:23.882488Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2022-04-21T16:29:23.882491Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2022-04-21T16:29:23.882493Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2022-04-21T16:29:23.882495Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2022-04-21T16:29:23.882497Z 0 [Note] Shutting down plugin 'InnoDB'
2022-04-21T16:29:23.882622Z 0 [Note] InnoDB: FTS optimize thread exiting.
2022-04-21T16:29:23.882794Z 0 [Note] InnoDB: Starting shutdown...
2022-04-21T16:29:23.983316Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2022-04-21T16:29:23.983704Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 220421 16:29:23
2022-04-21T16:29:25.506651Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12659904
2022-04-21T16:29:25.509059Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-04-21T16:29:25.509101Z 0 [Note] Shutting down plugin 'MEMORY'
2022-04-21T16:29:25.509107Z 0 [Note] Shutting down plugin 'CSV'
2022-04-21T16:29:25.509111Z 0 [Note] Shutting down plugin 'sha256_password'
2022-04-21T16:29:25.509113Z 0 [Note] Shutting down plugin 'mysql_native_password'
2022-04-21T16:29:25.509297Z 0 [Note] Shutting down plugin 'binlog'
2022-04-21T16:29:25.510802Z 0 [Note] mysqld: Shutdown complete

2022-04-21 16:29:25+00:00 [Note] [Entrypoint]: Temporary server stopped

2022-04-21 16:29:25+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.

2022-04-21T16:29:26.131534Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-04-21T16:29:26.134442Z 0 [Note] mysqld (mysqld 5.7.37) starting as process 1 ...
2022-04-21T16:29:26.138124Z 0 [Note] InnoDB: PUNCH HOLE support available
2022-04-21T16:29:26.138158Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2022-04-21T16:29:26.138161Z 0 [Note] InnoDB: Uses event mutexes
2022-04-21T16:29:26.138167Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2022-04-21T16:29:26.138170Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-21T16:29:26.138173Z 0 [Note] InnoDB: Using Linux native AIO
2022-04-21T16:29:26.138492Z 0 [Note] InnoDB: Number of pools: 1
2022-04-21T16:29:26.138741Z 0 [Note] InnoDB: Using CPU crc32 instructions
2022-04-21T16:29:26.141504Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2022-04-21T16:29:26.152478Z 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-21T16:29:26.156860Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2022-04-21T16:29:26.169324Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2022-04-21T16:29:26.179414Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-21T16:29:26.179499Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-21T16:29:26.215725Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-04-21T16:29:26.216910Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2022-04-21T16:29:26.216936Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2022-04-21T16:29:26.217836Z 0 [Note] InnoDB: 5.7.37 started; log sequence number 12659904
2022-04-21T16:29:26.218206Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2022-04-21T16:29:26.218254Z 0 [Note] Plugin 'FEDERATED' is disabled.
2022-04-21T16:29:26.224451Z 0 [Note] InnoDB: Buffer pool(s) load completed at 220421 16:29:26
2022-04-21T16:29:26.227977Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2022-04-21T16:29:26.228011Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2022-04-21T16:29:26.228016Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
2022-04-21T16:29:26.228018Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
2022-04-21T16:29:26.228675Z 0 [Warning] CA certificate ca.pem is self signed.
2022-04-21T16:29:26.228718Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2022-04-21T16:29:26.229719Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2022-04-21T16:29:26.229830Z 0 [Note] IPv6 is available.
2022-04-21T16:29:26.229995Z 0 [Note]   - '::' resolves to '::';
2022-04-21T16:29:26.230110Z 0 [Note] Server socket created on IP: '::'.
2022-04-21T16:29:26.231215Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2022-04-21T16:29:26.242339Z 0 [Note] Event Scheduler: Loaded 0 events
2022-04-21T16:29:26.242861Z 0 [Note] mysqld: ready for connections.
Version: '5.7.37'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)

@soullivaneuh
Copy link

@tianon May we consider re-opening this issue for further investigations?

Many similar was opened but this one brings the simplest way to reproduce. I got to the exact same situation of @fedinskiy, fixed by using 5.7.36:

# does not work
docker run --rm -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mysql:5.7.42
# works
docker run --rm -e MYSQL_ALLOW_EMPTY_PASSWORD=yes mysql:5.7.36

Please also note if we do the same using docker compose, the error occurs at the first docker compose up but disappear if you do it again with the container already started. However, the expected init script is skipped.

Here is my docker info:

Details

❯ docker info                                                              
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  0.10.4
    Path:     /usr/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  2.17.2
    Path:     /usr/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 4
  Running: 1
  Paused: 0
  Stopped: 3
 Images: 34
 Server Version: 23.0.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: true
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 1fbd70374134b891f97ce19c70b6e50c7b9f4e0d.m
 runc version: 
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.105-1-MANJARO
 Operating System: Manjaro Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 12
 Total Memory: 31.07GiB
 Name: sweetlap
 ID: XKPJ:IMQ6:APWA:CDL4:KOPC:4HJB:2JXN:Z6SS:55I2:5Z4V:TSLD:KRYA
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Experimental: false
 Insecure Registries:
  registry.int.nexylan.net
  127.0.0.0/8
 Registry Mirrors:
  https://mirror.gcr.io/
 Live Restore Enabled: false

And my OS details:

Details

❯ cat /etc/os-release
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
❯ uname -a
Linux sweetlap 5.15.105-1-MANJARO #1 SMP PREEMPT Fri Mar 31 05:22:54 UTC 2023 x86_64 GNU/Linux

Please ask if you need another details. It looks indeed the bug appears only on some operating system conditions.

Thanks!

@tianon
Copy link
Member

tianon commented Apr 26, 2023

I'm glad you've narrowed it down! I would suggest filing an issue with upstream MySQL with details -- even better if you can test it without Docker involved at all (just installing MySQL 5.7.36 and then updating it to 5.7.42 and verifying that it still breaks in the same way).

We're a pretty faithful packaging of Oracle's own binaries (we don't build MySQL from source or anything esoteric like that), and our configuration changes are fairly minor, so any issue of this sort is very unlikely to be specific to our image, and is much more likely to be something in MySQL itself or in the environment/setup.

@yosifkit
Copy link
Member

@soullivaneuh, the two images: mysql:5.7.42 and mysql:5.7.36 are based on different Linux distributions, Oracle Linux and Debian, respectively (#867 and docker-library/official-images#12743). I don't know if somehow that is the cause of the issue you are running into. We tried to make them as interoperable as possible, but you can still choose the -debian tag to get the Debian based version. Does mysql:5.7.37 (Debian default) also fail? Does any of mysql:5.7.38-debian through mysql:5.7.42-debian work? If none of the later Debian images work, then I am still unsure where the issue could be (since the difference between mysql:5.7.37 and mysql:5.7.36 is just the version bump).

Note: that could not be the case for the original issue since we didn't change the default until mysql:5.7.38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

5 participants