2023-05-28T07:02:28.900903Z 0 [System] [MY-013169] [Server] D:\DB\mysql-8.0.17-winx64\bin\mysqld.exe (mysqld 8.0.17) initializing of server in progress as process 19088 2023-05-28T07:02:28.902649Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous. 2023-05-28T07:02:28.905039Z 0 [ERROR] [MY-010457] [Server] --initialize specified but the data directory has files in it. Aborting. 2023-05-28T07:02:28.905050Z 0 [ERROR] [MY-013236] [Server] The designated data directory D:\DB\mysql-8.0.17-winx64\data\ is unusable. You can remove all files that the server added to it. 2023-05-28T07:02:28.906164Z 0 [ERROR] [MY-010119] [Server] Aborting 2023-05-28T07:02:28.906279Z 0 [System] [MY-010910] [Server] D:\DB\mysql-8.0.17-winx64\bin\mysqld.exe: Shutdown complete (mysqld 8.0.17) MySQL Community Server - GPL.
时间: 2024-02-16 21:01:12 浏览: 187
Pipeline-Trigger-2021-04-13T07-18-28.052Z:为工具链创建
这段信息看起来是MySQL数据库服务器启动过程中的一些报错信息。最后一行显示MySQL服务器启动失败。报错信息中提到指定的数据目录中已经存在文件,这可能是导致启动失败的原因之一。建议您检查一下数据目录中是否存在文件,如果存在的话,将其删除后再尝试启动MySQL服务器。同时,报错信息中还提到了字符集的问题,请注意字符集的设置。
阅读全文