w5teams / w5

Security Orchestration, Automation and Response (SOAR) Platform. 安全编排与自动化响应平台,无需编写代码的安全自动化,使用 SOAR 可以让团队工作更加高效

Home Page:https://w5.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker搭建失败

s7safe opened this issue · comments

commented

图片
正常docker搭建,mysql启动失败

commented

mysql_1 | 2024-05-17T01:21:07.906538Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql_1 | 2024-05-17T01:21:07.991299Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql_1 | 2024-05-17T01:21:08.008425Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1 | 2024-05-17T01:21:08.008603Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql_1 | 2024-05-17T01:21:08.079362Z 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.
mysql_1 | 2024-05-17T01:21:08.080078Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:21:08.080402Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
mysql_1 | 2024-05-17T01:21:08.080446Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
mysql_1 | 2024-05-17T01:21:08.080666Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
mysql_1 | 2024-05-17T01:21:08.082030Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql_1 | 2024-05-17T01:21:09.605572Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
mysql_1 | 2024-05-17T01:21:09.605613Z 0 [System] [MY-015016] [Server] MySQL Server - end.
mysql_1 | 2024-05-17 09:22:11+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql_1 | 2024-05-17 09:22:12+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2024-05-17 09:22:12+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql_1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql_1 | 2024-05-17T01:22:14.277258Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql_1 | 2024-05-17T01:22:15.201422Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
mysql_1 | 2024-05-17T01:22:15.219775Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql_1 | 2024-05-17T01:22:16.611350Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1 | mysqld: Table 'mysql.plugin' doesn't exist
mysql_1 | 2024-05-17T01:22:17.201915Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
mysql_1 | 2024-05-17T01:22:17.202478Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.202793Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.203102Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.203694Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.203903Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.204175Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.204370Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.396823Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql_1 | 2024-05-17T01:22:17.487794Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql_1 | 2024-05-17T01:22:17.502071Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1 | 2024-05-17T01:22:17.502131Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql_1 | 2024-05-17T01:22:17.509487Z 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.
mysql_1 | 2024-05-17T01:22:17.519455Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql_1 | 2024-05-17T01:22:17.520206Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
mysql_1 | 2024-05-17T01:22:17.520314Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
mysql_1 | 2024-05-17T01:22:17.520832Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
mysql_1 | 2024-05-17T01:22:17.525253Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql_1 | 2024-05-17T01:22:19.091325Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
mysql_1 | 2024-05-17T01:22:19.091359Z 0 [System] [MY-015016] [Server] MySQL Server - end.
mysql_1 | 2024-05-17 09:23:21+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql_1 | 2024-05-17 09:23:22+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2024-05-17 09:23:22+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql_1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql_1 | 2024-05-17T01:23:23.611534Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql_1 | 2024-05-17T01:23:24.977378Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
mysql_1 | 2024-05-17T01:23:24.991043Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql_1 | 2024-05-17T01:23:26.014000Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1 | mysqld: Table 'mysql.plugin' doesn't exist
mysql_1 | 2024-05-17T01:23:26.602608Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.

commented

docker-compose.yaml文件中,修订mysql基础镜像为:
mysql:
image: mysql:5.7.41
测试可通过!

试过了不行

问题解决了么,这边也遇到了