2022-09-14T07:09:47.300238120Z 2022-09-14T07:09:47.300080Z 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. 2022-09-14T07:09:47.305642452Z 2022-09-14 07:09:47+00:00 [ERROR] [Entrypoin...
2024-05-14T07:37:33.185687Z 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. 发现: 上次删除的是/var/lib/mysql/*,但是我创建容器时进行的持久化操作-v /tom/mysql8/data:/var/lib/mysql 或许...
docker logs -f mysql-test查看日志发现启动报错了: 我这里主要的报错信息: [ERROR] --initialize specified but the data directory has files in it. Aborting. [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added ...
test.mysql.01 | 2019-08-01T12:08:28.936704Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.17) initializing of server in progress as process 28 test.mysql.01 | 2019-08-01T12:08:28.938479Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mys...
22T08:52:30.814050Z 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-11-22T08:52:30.814195Z 0 [ERROR] [MY-010119] [Server] Aborting 2024-11-22T08:52:30.815124Z 0 [System] [MY-...
其实这里,我是尝试过使用docker-compose来启动mysql的,compose脚本如下: 但是启动过程中,出现多种错误,如下: [ERROR] [MY-010457] [Server]--initialize specified but the data directory has files in it. Aborting. [ERROR] [MY-013236] [Server]The designated data directory /var/lib/mysql/ is unusable....
2024-05-14T09:21:52.008687Z 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-05-14T09:21:52.008698Z 0 [ERROR] [MY-010119] [Server] Aborting ...
npi360gen2-mysql | 2024-05-14T11:38:01.227927Z 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. npi360gen2-mysql | 2024-05-14T11:38:01.227955Z 0 [ERROR] [MY-010119] [Server] Aborting...
主配置文件/etc/mysql/my.cnf 配置文件夹/etc/mysql/conf.d/ 数据文件夹/var/lib/mysql 在宿主机上分别建立目录 /share/mysql/my.cnf /share/mysql/conf.d/ /share/mysql/data/ 将容器中主配置文件内容拷贝到宿主机对应文件中,家下来停止并关闭容器,重新运行并映射MySQL。
上周一的时候,对为我服务了9年的Macbook Pro做了一次重启(因为想刷新一下路由,关于双网卡路由配置...