From 37a2463da8512fe8a14326f7e65a3346d5e9364e Mon Sep 17 00:00:00 2001 From: 8ga Date: Fri, 27 Feb 2026 11:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E5=AE=89=E8=A3=85MySQL8.m?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 安装MySQL8.md | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 安装MySQL8.md diff --git a/安装MySQL8.md b/安装MySQL8.md deleted file mode 100644 index 9a0a44a..0000000 --- a/安装MySQL8.md +++ /dev/null @@ -1,22 +0,0 @@ -``` -docker run -d \ - --name mysql-8.4.5 \ - -e MYSQL_ROOT_PASSWORD='设置root登录密码' \ - -p 宿主机端口号:3306 \ - -v 替换成mysql存储目录:/var/lib/mysql \ - --memory="2g" \ - --memory-swap="-1" \ - --restart=on-failure:3 \ - swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mysql:8.4.5 \ - --max_connections=100 \ - --tmp_table_size=67108864 \ - --max_heap_table_size=67108864 \ - --innodb_buffer_pool_size=536870912 \ - --innodb_log_file_size=134217728 \ - --thread_cache_size=16 \ - --slow_query_log=1 \ - --log_output='TABLE' \ - --long_query_time=5 \ - --bind-address=0.0.0.0 \ - --skip-name-resolve -``` \ No newline at end of file