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