从Linux Docker往Windows Docker迁移,数据库连不上

Linux Docker的数据也是通过NFS挂载Windows的文件夹的,运行了5、6年一直正常,后迁移到Docker映射的相同的文件夹
迁移之后Seahub正常启动,数据库正常启动,能正常打开登录页面,但用户密码错误
查Seahub日志是无法创建管理员帐号,数据库日志亦有通讯错误的报错,但找不到原因为啥连不上数据库,老大有提示吗?

Seahub日志:

2024-04-22 12:49:44 2024-04-22 12:49:44 Nginx ready 
2024-04-22 12:49:44 2024-04-22 12:49:44 This is an idle script (infinite loop) to keep container running. 
2024-04-22 12:49:48 waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
2024-04-22 12:49:48 [04/22/2024 12:49:48][upgrade]: The container was recreated, start fix the media symlinks
2024-04-22 12:49:48 [04/22/2024 12:49:48][upgrade]: Done
2024-04-22 12:49:48 
2024-04-22 12:49:48 Starting seafile server, please wait ...
2024-04-22 12:49:51 Seafile server started
2024-04-22 12:49:51 
2024-04-22 12:49:51 Done.
2024-04-22 12:49:51 
2024-04-22 12:49:51 Starting seahub at port 8000 ...
2024-04-22 12:49:52 
2024-04-22 12:49:52 Error happened during creating seafile admin.
2024-04-22 12:49:52 
2024-04-22 12:49:58 
2024-04-22 12:49:58 Seahub is started
2024-04-22 12:49:58 
2024-04-22 12:49:58 Done.
2024-04-22 12:49:58 
2024-04-22 12:49:44 *** Running /etc/my_init.d/01_create_data_links.sh...
2024-04-22 12:49:44 *** Booting runit daemon...
2024-04-22 12:49:44 *** Runit started as PID 25
2024-04-22 12:49:44 *** Running /scripts/enterpoint.sh...
2024-04-22 12:49:48 [2024-04-22 12:49:48] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.

数据库日志:

2024-04-22 12:49:43 2024-04-22 04:49:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.7+maria~ubu2204 started.
2024-04-22 12:49:45 2024-04-22 04:49:45+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup/name=systemd:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 42:misc:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 41:rdma:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 40:pids:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 39:hugetlb:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 38:net_prio:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 37:perf_event:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 36:net_cls:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 35:freezer:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 34:devices:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 33:memory:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 32:blkio:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 31:cpuacct:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 30:cpu:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 29:cpuset:/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734
2024-04-22 12:49:45 0::/docker/fa50623c07039502a36aa0e8ef5515136d575922196ebdc187c15fe90fd58734/memory.pressure not writable, functionality unavailable to MariaDB
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2024-04-22 12:49:45 2024-04-22 04:49:45+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-04-22 12:49:45 2024-04-22 04:49:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.7+maria~ubu2204 started.
2024-04-22 12:49:46 2024-04-22 04:49:46+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] Starting MariaDB 10.11.7-MariaDB-1:10.11.7+maria~ubu2204 source revision 87e13722a95af5d9378d990caf48cb6874439347 as process 1
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Number of transaction pools: 1
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Using liburing
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Completed initialization of buffer pool
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: End of log at LSN=29765105
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: 128 rollback segments are active.
2024-04-22 12:49:46 2024-04-22  4:49:46 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Note] InnoDB: log sequence number 29765105; transaction id 148510
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Note] Server socket created on IP: '0.0.0.0'.
2024-04-22 12:49:47 2024-04-22  4:49:47 0 [Note] Server socket created on IP: '::'.
2024-04-22 12:49:48 2024-04-22  4:49:48 0 [Note] mariadbd: ready for connections.
2024-04-22 12:49:48 Version: '10.11.7-MariaDB-1:10.11.7+maria~ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
2024-04-22 12:49:49 2024-04-22  4:49:49 0 [Note] InnoDB: Buffer pool(s) load completed at 240422  4:49:49
2024-04-22 12:49:54 2024-04-22  4:49:54 12 [Warning] Aborted connection 12 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:50:23 2024-04-22  4:50:23 33 [Warning] Aborted connection 33 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:50:54 2024-04-22  4:50:54 52 [Warning] Aborted connection 52 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:51:25 2024-04-22  4:51:25 72 [Warning] Aborted connection 72 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:51:57 2024-04-22  4:51:57 93 [Warning] Aborted connection 93 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:52:27 2024-04-22  4:52:27 113 [Warning] Aborted connection 113 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:52:59 2024-04-22  4:52:59 133 [Warning] Aborted connection 133 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:53:30 2024-04-22  4:53:30 153 [Warning] Aborted connection 153 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:54:01 2024-04-22  4:54:01 173 [Warning] Aborted connection 173 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)
2024-04-22 12:54:33 2024-04-22  4:54:33 193 [Warning] Aborted connection 193 to db: 'seahub_db' user: 'seafile' host: '172.24.0.5' (Got an error reading communication packets)

Docker compose:

services:
  db:
    image: mariadb:10.11
    privileged: true
    container_name: seafile-mysql
    ports:
    environment:
      - MYSQL_ROOT_PASSWORD=XXX  # Requested, set the root's password of MySQL service.
      - MYSQL_LOG_CONSOLE=true
      - MARIADB_AUTO_UPGRADE=1
    volumes:
      - E:\NFS\seafile-mysql\db:/var/lib/mysql  # Requested, specifies the path to MySQL data persistent store.
    networks:
      - seafile-net

  memcached:
    image: memcached:1.6.18
    privileged: true
    container_name: seafile-memcached
    entrypoint: memcached -m 256
    networks:
      - seafile-net
    
          
  seafile:
    image: seafileltd/seafile-mc:latest
    privileged: true
    container_name: seafile
    ports:
      - "80:80"
      - "443:443"  # If https is enabled, cancel the comment.
    volumes:
      - E:\NFS\seafile-data:/shared   # Requested, specifies the path to Seafile data persistent store.
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=XXX  # Requested, the value shuold be root's password of MySQL service.
      - TIME_ZONE=Asia/Shanghai # Optional, default is UTC. Should be uncomment and set to your local time zone.
      - SEAFILE_ADMIN_EMAIL=A@gA.com # Specifies Seafile admin user, default is 'me@example.com'.
      - SEAFILE_ADMIN_PASSWORD=A     # Specifies Seafile admin password, default is 'asecret'.
      - SEAFILE_SERVER_LETSENCRYPT=false   # Whether use letsencrypt to generate cert.
      - SEAFILE_SERVER_HOSTNAME=A # Specifies your host name.
    depends_on:
      - db
      - memcached
    networks:
      - seafile-net

  onlyoffice:
    image: onlyoffice/documentserver:latest
    privileged: true
    container_name: onlyoffice
    ports:
      - "8777:80"
      - "8778:443"
    volumes:
      - E:\NFS\seafile-onlyoffice\log:/var/log/onlyoffice
      - E:\NFS\seafile-onlyoffice\data:/var/www/onlyoffice/Data
      - E:\NFS\seafile-onlyoffice\lib:/var/lib/onlyoffice
      - E:\NFS\seafile-onlyoffice\db:/var/lib/postgresql
    environment:
      - USE_UNAUTHORIZED_STORAGE=true
      - JWT_ENABLED=true
      - JWT_SECRET=A
    networks:
      - seafile-net
      
networks:
  seafile-net:

有没有大佬能提示下。。。
运行环境是Windows的Docker Desktop,以WSL2方式运行