From 806e5b75ba507f6a6bf663f512c78679cc70d799 Mon Sep 17 00:00:00 2001 From: Vishal Date: Thu, 9 Jan 2025 16:22:26 +0530 Subject: [PATCH] Update manual-postgres-migration.rst We need to copy the MM config from MySQL DB not postgres. --- source/deploy/manual-postgres-migration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/deploy/manual-postgres-migration.rst b/source/deploy/manual-postgres-migration.rst index 7a82fec0477..f41423f828a 100644 --- a/source/deploy/manual-postgres-migration.rst +++ b/source/deploy/manual-postgres-migration.rst @@ -295,7 +295,7 @@ Use the ``mmctl config migrate`` command to :ref:`migrate your config :@:5432/?sslmode=disable&connect_timeout=10" /opt/mattermost/config/config.json --local + mmctl config migrate "DB_USER:DB_PASS@tcp(localhost:3306)/DB_NAME?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s&multiStatements=true" /opt/mattermost/config/config.json --local Where ````, ````, ````, and ```` are replaced with your environment values. Ensure you use ``--local`` when running this command. The first parameters (````, ````) is the database the configuration is stored in, the second parameter (````, ````) is the file we are saving the configuration to.