ProudMuBai / GoFilm

多播放源自动采集在线影视网站 golang vue
https://m.mubai.link
MIT License
1.07k stars 261 forks source link

mysql启动报错了 #49

Open lovefan-fan opened 5 months ago

lovefan-fan commented 5 months ago

2024-06-08 06:11:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started. 2024-06-08 06:11:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2024-06-08 06:11:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started. 2024-06-08 06:11:39+00:00 [Note] [Entrypoint]: Initializing database files 2024-06-08T06:11:39.701834Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start. 2024-06-08T06:11:39.703699Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.4.0) initializing of server in progress as process 80 2024-06-08T06:11:39.735029Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-06-08T06:11:43.555450Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2024-06-08T06:11:56.018019Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'. 2024-06-08T06:11:56.019667Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it. 2024-06-08T06:11:56.019713Z 0 [ERROR] [MY-010119] [Server] Aborting 2024-06-08T06:11:57.653685Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.

ProudMuBai commented 5 months ago

用最新的docker-compose.yaml文件就可以了, 旧版本里面有个default-authentication-plugin=mysql_native_password配置好像会让mysql容器报错, 去掉就可以了