From fb84747d8ac08f684833d7ed69dc74f785c2d973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=AF=E6=98=8E?= <455043818@qq.com> Date: Fri, 11 Oct 2024 17:33:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:10=E6=9C=8811=E6=97=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.mts | 1 - docs/javascript/2023-11-15-docker-mysql.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 48ab5c6e46..8d1398040a 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -12,7 +12,6 @@ export default defineConfig({ { src: "https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" }] - ], themeConfig: { // https://vitepress.dev/reference/default-theme-config diff --git a/docs/javascript/2023-11-15-docker-mysql.md b/docs/javascript/2023-11-15-docker-mysql.md index 389f863336..5a9166bd05 100644 --- a/docs/javascript/2023-11-15-docker-mysql.md +++ b/docs/javascript/2023-11-15-docker-mysql.md @@ -7,7 +7,7 @@ -v /root/docker/mysql/data:/var/lib/mysql \ -v /root/docker/mysql/conf:/etc/mysql \ -v /etc/local/docker/mysql/conf.d:/etc/mysql/conf.d \ - -e MYSQL_ROOT_PASSWORD=123456 -d mysql + -e MYSQL_ROOT_PASSWORD=M9y2512! -d mysql:8.0 ``` ## 创建一个无密码的容器 @@ -48,7 +48,7 @@ docker start mysql-container ## 查看容器日志 ``` -docker logs -f mysql +c docker log mysql --tail 10 //最近10条日志记录 ``` \ No newline at end of file