已解决 docker 拉取10.5版本,docker run 命令,数据库报错
root@8a9a56d73ee5:/data/mysql/logs# cat mysql_error.log
2024-01-25 16:22:54 0 [Note] Starting MariaDB 10.6.15-MariaDB source revision 0d16eb35bc981023ce2f4912e8ecde68ca381f4e as process 372
2024-01-25 16:22:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
2024-01-25 16:22:54 0 [Note] InnoDB: Number of pools: 1
2024-01-25 16:22:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2024-01-25 16:22:54 0 [Note] InnoDB: Using Linux native AIO
2024-01-25 16:22:54 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2024-01-25 16:22:54 0 [Note] InnoDB: Completed initialization of buffer pool
2024-01-25 16:22:54 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 100663296 bytes
2024-01-25 16:22:54 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2024-01-25 16:22:54 0 [Note] InnoDB: New log file created, LSN=42264
2024-01-25 16:22:54 0 [Note] InnoDB: 128 rollback segments are active.
2024-01-25 16:22:54 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2024-01-25 16:22:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-01-25 16:22:54 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2024-01-25 16:22:54 0 [Note] InnoDB: 10.6.15 started; log sequence number 0; transaction id 14
2024-01-25 16:22:54 0 [Note] InnoDB: Loading buffer pool(s) from /data/mysql/data/ib_buffer_pool
2024-01-25 16:22:54 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-01-25 16:22:54 0 [Note] Server socket created on IP: '127.0.0.1'.
2024-01-25 16:22:54 0 [Note] InnoDB: Buffer pool(s) load completed at 240125 16:22:54
2024-01-25 16:22:54 0 [Note] /opt/zbox/run/mysql/mariadbd: ready for connections.
Version: '10.6.15-MariaDB'  socket: '/data/mysql/tmp/mysql.sock'  port: 3306  MariaDB Server
2024-01-25 16:22:55 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: 'localhost' (This connection closed normally without authentication)


请大牛帮助解答下

安装参考文档 : https://www.zentao.net/book/zentaopmshelp/405.html

禅道版本 18.5 源码包
操作系统 CentOS
客户端浏览器 Chrome

提问者: 直爽的梨子 悬赏:5 日期: 2024-01-25 16:37:10 答案:2 点击:137

获取技术支持

QQ: 电话:
设置备注
答案列表
2024/01/25

启动前,宿主机 /data 目录下有其他数据?或者有连接外部的数据库吗?
不是镜像的问题 

2024/01/25
可以了,谢谢,是命令输错了
2024/01/25
好的
2024/01/25

启动命令是什么呢?

建议使用18.10新版本的镜像,18.5之后镜像又调整过。新版本镜像安装可以参考手册:Docker和Kubernetes方式部署禅道 - 禅道使用手册 - 禅道开源项目管理软件 (zentao.net)


另外,遇到问题,可以联系官网顶部商务QQ,邀请加入禅道技术交流群沟通下的。