From fe52208f28efed2dde4a8396f9a7ead3ce8cc255 Mon Sep 17 00:00:00 2001 From: skywalker Date: Fri, 28 Jun 2024 10:27:05 +0800 Subject: [PATCH] update docker cluster sql --- manual/docker/cluster/deploy_seafile_cluster_with_docker.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manual/docker/cluster/deploy_seafile_cluster_with_docker.md b/manual/docker/cluster/deploy_seafile_cluster_with_docker.md index f3286b35..862aa794 100644 --- a/manual/docker/cluster/deploy_seafile_cluster_with_docker.md +++ b/manual/docker/cluster/deploy_seafile_cluster_with_docker.md @@ -172,9 +172,11 @@ Enter the container, and then execute the following commands to import tables ``` $ docker exec -it seafile bash +# apt-get update && apt-get install -y mysql-client + # mysql -h{your mysql host} -u[username] -p[password] ccnet_db < /opt/seafile/seafile-server-latest/sql/mysql/ccnet.sql # mysql -h{your mysql host} -u[username] -p[password] seafile_db < /opt/seafile/seafile-server-latest/sql/mysql/seafile.sql -# mysql -h{your mysql host} -u[username] -p[password] seahub_db < /opt/seafile/seafile-server-laster/seahub/sql/mysql.sql +# mysql -h{your mysql host} -u[username] -p[password] seahub_db < /opt/seafile/seafile-server-latest/seahub/sql/mysql.sql ```