-
Notifications
You must be signed in to change notification settings - Fork 678
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
📋 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
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
🔄 Steps to Reproduce
.cnf 文件
USER=root
PASSWORD=cozeloop-mysql
DATABASE=cozeloop-mysql
client_template.cnf
[client]
user=${USER}
password=${PASSWORD}
host=localhost
✅ Expected Behavior
123
❌ Actual Behavior
123
🚨 Severity
None
🔧 Component
None
💻 Environment
No response
🔧 Go Environment
No response
📋 Logs
cozeloop-mysql | [client]
cozeloop-mysql | user=root
cozeloop-mysql | password=cozeloop-mysql
cozeloop-mysql | host=localhost
cozeloop-mysql | =========================================================================
cozeloop-mysql | ============================== Starting... ==============================
cozeloop-mysql | =========================================================================
cozeloop-mysql | + docker-entrypoint.sh mysqld
cozeloop-mysql | 2025-07-29 02:09:14+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.4.0-1.el9 started.
cozeloop-mysql | 2025-07-29 02:09:14+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
cozeloop-mysql | 2025-07-29 02:09:14+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.4.0-1.el9 started.
cozeloop-mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
cozeloop-mysql | 2025-07-29T02:09:14.675006Z 0 [System] [MY-015015] [Server] MySQL Server - start.
cozeloop-mysql | 2025-07-29T02:09:14.890230Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.4.0) starting as process 71
cozeloop-mysql | 2025-07-29T02:09:14.890250Z 0 [System] [MY-015590] [Server] MySQL Server has access to 16 logical CPUs.
cozeloop-mysql | 2025-07-29T02:09:14.890265Z 0 [System] [MY-015590] [Server] MySQL Server has access to 33649065984 bytes of physical memory.
cozeloop-mysql | 2025-07-29T02:09:14.896060Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
cozeloop-mysql | 2025-07-29T02:09:17.139853Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
cozeloop-mysql | 2025-07-29T02:09:19.447613Z 0 [System] [MY-010229] [Server] Starting XA crash recovery...
cozeloop-mysql | 2025-07-29T02:09:19.454965Z 0 [System] [MY-010232] [Server] XA crash recovery finished.
cozeloop-mysql | 2025-07-29T02:09:19.983816Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
cozeloop-mysql | 2025-07-29T02:09:19.983852Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
cozeloop-mysql | 2025-07-29T02:09:20.214790Z 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.
cozeloop-mysql | 2025-07-29T02:09:20.543593Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
cozeloop-mysql | 2025-07-29T02:09:20.543627Z 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.
cozeloop-mysql | + init #1: mysql --defaults-extra-file=<(client_conf) -D cozeloop-mysql < /cozeloop/conf/mysql/init-sql/api_key.sql
cozeloop-mysql | ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
📝 Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working