Skip to content

[BUG] container cozeloop-mysql is unhealthy #98

@lennonn

Description

@lennonn

📋 CheckList

  • I have searched existing issues to avoid duplicates
  • I am using a recently maintained version of Coze Loop
  • I have provided all required information
  • I understand this is a bug report and not a feature request
  • I have submitted this report in English (otherwise it will not be processed)

🐛 Bug Description

2025-08-12 13:45:37 + docker-entrypoint.sh mysqld
2025-08-12 13:45:37 2025-08-12 05:45:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.4.0-1.el9 started.
2025-08-12 13:45:37 2025-08-12 05:45:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-08-12 13:45:37 2025-08-12 05:45:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.4.0-1.el9 started.
2025-08-12 13:45:37 '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2025-08-12 13:45:37 2025-08-12T05:45:37.501569Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-08-12 13:45:37 2025-08-12T05:45:37.703892Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.4.0) starting as process 13
2025-08-12 13:45:37 2025-08-12T05:45:37.703918Z 0 [System] [MY-015590] [Server] MySQL Server has access to 8 logical CPUs.
2025-08-12 13:45:37 2025-08-12T05:45:37.703935Z 0 [System] [MY-015590] [Server] MySQL Server has access to 8258658304 bytes of physical memory.
2025-08-12 13:45:37 2025-08-12T05:45:37.709612Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-08-12 13:45:39 2025-08-12T05:45:39.730291Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-08-12 13:45:40 2025-08-12T05:45:40.067438Z 0 [System] [MY-010229] [Server] Starting XA crash recovery...
2025-08-12 13:45:40 2025-08-12T05:45:40.072543Z 0 [System] [MY-010232] [Server] XA crash recovery finished.
2025-08-12 13:45:40 2025-08-12T05:45:40.207221Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-08-12 13:45:40 2025-08-12T05:45:40.207260Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-08-12 13:45:40 2025-08-12T05:45:40.214751Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2025-08-12 13:45:40 2025-08-12T05:45:40.238927Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2025-08-12 13:45:40 2025-08-12T05:45:40.239091Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '9.4.0' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
2025-08-12 13:45:41 + init #1: mysql --defaults-extra-file=<(client_conf) -D cozeloop-mysql < /cozeloop/conf/mysql/init-sql/api_key.sql
2025-08-12 13:45:41 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

🔄 Steps to Reproduce

docker-compose up -d

✅ Expected Behavior

cozeloop-mysql healthy

❌ Actual Behavior

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

🚨 Severity

None

🔧 Component

None

💻 Environment

No response

🔧 Go Environment

No response

📋 Logs

📝 Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions