From 59977c03b9faed5f8149e4674a14a3b8c02b7a45 Mon Sep 17 00:00:00 2001 From: yangj1211 <153493538+yangj1211@users.noreply.github.com> Date: Mon, 20 May 2024 14:26:04 +0800 Subject: [PATCH] update version to 1.2.0 (#1069) --- .../How-to-Contribute/preparation.md | 2 +- .../Deploy/update-MatrixOne-cluster.md | 2 +- .../Computing-Engine/Flink.md | 2 +- .../Computing-Engine/Spark.md | 2 +- .../Computing-Engine/seatunnel-write.md | 2 +- .../connect-mo/configure-mo-ssl-connection.md | 2 +- .../connect-mo/database-client-tools.md | 2 +- .../connect-mo/python-connect-to-matrixone.md | 2 +- .../Develop/import-data/bulk-load/load-csv.md | 2 +- .../import-data/bulk-load/using-source.md | 2 +- docs/MatrixOne/FAQs/product-faqs.md | 2 +- docs/MatrixOne/FAQs/sql-faqs.md | 2 +- .../install-on-linux-method1.md | 8 +-- .../install-on-linux-method2.md | 56 +++++++++---------- .../install-on-linux-method3.md | 20 +++---- .../install-on-macos-method1.md | 8 +-- .../install-on-macos-method2.md | 34 +++++------ .../install-on-macos-method3.md | 20 +++---- docs/MatrixOne/Maintain/mo_ctl.md | 14 ++--- .../Maintain/mount-data-by-docker.md | 8 +-- .../migrate-from-mysql-to-matrixone.md | 2 +- .../Overview/feature/feature-overview.md | 2 +- .../system-ops/version.md | 4 +- docs/MatrixOne/Security/TLS-introduction.md | 4 +- 24 files changed, 102 insertions(+), 102 deletions(-) diff --git a/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md b/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md index 832b54c2c7..fe0706e0f1 100644 --- a/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md +++ b/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md @@ -15,7 +15,7 @@ ### 建设情况 -目前,MatrixOne v1.1.3 已经发布了,您可以通过[版本发布指南](./../../Release-Notes/v1.1.3.md)来了解最新的发布信息,其中包含了最新的修改与优化。 +目前,MatrixOne v1.2.0 已经发布了,您可以通过[版本发布指南](./../../Release-Notes/v1.2.0.md)来了解最新的发布信息,其中包含了最新的修改与优化。 关于长期的项目规划,请参阅 [MatrixOne Roadmap](https://github.com/matrixorigin/matrixone/issues/613)。 diff --git a/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md b/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md index 5895d1b73f..6a254c791d 100644 --- a/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md +++ b/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md @@ -72,7 +72,7 @@ root@master0 ~]# mysql -h $(kubectl get svc/mo-tp-cn -n mo-hn -o jsonpath='{.spec.clusterIP}') -P 6001 -uroot -p111 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 1005 - Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne + Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. diff --git a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Flink.md b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Flink.md index f8a8184ca1..3f908be938 100644 --- a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Flink.md +++ b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Flink.md @@ -36,7 +36,7 @@ Apache Flink 是一个强大的框架和分布式处理引擎,专注于进行 本次实践需要安装部署以下软件环境: -- 完成[单机部署 MatrixOne](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Get-Started/install-standalone-matrixone/)。 +- 完成[单机部署 MatrixOne](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Get-Started/install-standalone-matrixone/)。 - 下载安装 [lntelliJ IDEA(2022.2.1 or later version)](https://www.jetbrains.com/idea/download/)。 - 根据你的系统环境选择 [JDK 8+ version](https://www.oracle.com/sg/java/technologies/javase/javase8-archive-downloads.html) 版本进行下载安装。 - 下载并安装 [Kafka](https://archive.apache.org/dist/kafka/3.5.0/kafka_2.13-3.5.0.tgz),推荐版本为 2.13 - 3.5.0。 diff --git a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Spark.md b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Spark.md index 202d08fce3..002ea7c44b 100644 --- a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Spark.md +++ b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/Spark.md @@ -39,7 +39,7 @@ Apache Spark 是一个为高效处理大规模数据而设计的分布式计算 本次实践需要安装部署以下软件环境: -- 已完成[安装和启动 MatrixOne](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Get-Started/install-standalone-matrixone/)。 +- 已完成[安装和启动 MatrixOne](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Get-Started/install-standalone-matrixone/)。 - 下载并安装 [IntelliJ IDEA version 2022.2.1 及以上](https://www.jetbrains.com/idea/download/)。 - 下载并安装 [JDK 8+](https://www.oracle.com/sg/java/technologies/javase/javase8-archive-downloads.html)。 - 如需从 Hive 导入数据,需要安装 [Hadoop](http://archive.apache.org/dist/hadoop/core/hadoop-3.1.4/) 和 [Hive](https://dlcdn.apache.org/hive/hive-3.1.3/)。 diff --git a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md index 790e96faa8..77c69cb346 100644 --- a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md +++ b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md @@ -33,7 +33,7 @@ export SEATNUNNEL_HOME="/root/seatunnel" ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ``` -2. 使用 [mo_ctl](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Maintain/mo_ctl/) 工具将 MySQL 的 DDL 语句直接导入至 MatrixOne。执行以下命令: +2. 使用 [mo_ctl](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Maintain/mo_ctl/) 工具将 MySQL 的 DDL 语句直接导入至 MatrixOne。执行以下命令: ```shell mo_ctl sql /root/mysql.sql diff --git a/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md b/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md index 6d3183d4b5..aba404fc81 100644 --- a/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md +++ b/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md @@ -77,7 +77,7 @@ Current pager: stdout Using outfile: '' Using delimiter: ; - Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne + Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Client characterset: utf8mb4 diff --git a/docs/MatrixOne/Develop/connect-mo/database-client-tools.md b/docs/MatrixOne/Develop/connect-mo/database-client-tools.md index 87569fbecd..0ed10e6cb2 100644 --- a/docs/MatrixOne/Develop/connect-mo/database-client-tools.md +++ b/docs/MatrixOne/Develop/connect-mo/database-client-tools.md @@ -39,7 +39,7 @@ MatrixOne 现在支持通过以下几种数据库客户端工具的方式连接 ``` Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1031 - Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne + Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2022, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. diff --git a/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md b/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md index 59c6787f11..0b6e2fd922 100644 --- a/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md +++ b/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md @@ -72,7 +72,7 @@ PyMySQL 是一个纯 Python MySQL 客户端库。 ``` > python3 pymysql_connect_matrixone.py - Database version : 8.0.30-MatrixOne-v1.1.3 + Database version : 8.0.30-MatrixOne-v1.2.0 ``` ## 使用 sqlalchemy 连接 MatrixOne diff --git a/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md b/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md index 95c9e836c6..d0e005738a 100644 --- a/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md +++ b/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md @@ -113,7 +113,7 @@ __Note__: *csv*(逗号分隔值)文件是一种特殊的文件类型,可 3. 使用 Docker 启动 MatrixOne,启动时将存放了数据文件的目录 *~/tmp/docker_loaddata_demo/* 挂载到容器的某个目录下,这里容器目录以 */ssb-dbgen-path* 为例: ``` - sudo docker run --name matrixone --privileged -d -p 6001:6001 -v ~/tmp/docker_loaddata_demo/:/ssb-dbgen-path:rw matrixorigin/matrixone:1.1.3 + sudo docker run --name matrixone --privileged -d -p 6001:6001 -v ~/tmp/docker_loaddata_demo/:/ssb-dbgen-path:rw matrixorigin/matrixone:1.2.0 ``` 4. 连接 MatrixOne 服务: diff --git a/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md b/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md index de424cf506..c2327ffcc0 100644 --- a/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md +++ b/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md @@ -68,6 +68,6 @@ select * from tool; ## 限制说明 -MatrixOne 1.1.3 版本已经支持 MySQL 的建表语句,因此可以顺畅地将 MySQL 表迁移到 MatrixOne 上。不过需要注意,在迁移过程中,不兼容 MySQL 部分关键字,如 `engine=` 等,在 MatrixOne 中会被自动忽略,也不会影响表结构的迁移。 +MatrixOne 1.2.0 版本已经支持 MySQL 的建表语句,因此可以顺畅地将 MySQL 表迁移到 MatrixOne 上。不过需要注意,在迁移过程中,不兼容 MySQL 部分关键字,如 `engine=` 等,在 MatrixOne 中会被自动忽略,也不会影响表结构的迁移。 但需要特别注意的是,尽管 MatrixOne 支持 MySQL 建表语句,如果迁移的表中包含不兼容的数据类型、触发器、函数或存储过程,仍需要手动修改。更多详细的兼容性信息,参见 [MySQL 兼容性](../../../Overview/feature/mysql-compatibility.md)。 diff --git a/docs/MatrixOne/FAQs/product-faqs.md b/docs/MatrixOne/FAQs/product-faqs.md index eae35c1bea..beaebe541d 100644 --- a/docs/MatrixOne/FAQs/product-faqs.md +++ b/docs/MatrixOne/FAQs/product-faqs.md @@ -30,7 +30,7 @@ MatrixOne 0.8.0 及以上版本皆可使用 `mo_ctl upgrade latest` 从低版本 **现在 MatrixOne 发稳定版了吗?推荐使用哪个版本?** -MatrixOne 现已发布 1.1.3 版本,在稳定性上我们做了大量的优化工作,已经可以用于生产业务,欢迎大家试用反馈。 +MatrixOne 现已发布 1.2.0 版本,在稳定性上我们做了大量的优化工作,已经可以用于生产业务,欢迎大家试用反馈。 **有没有 MatrixOne 云版本?想快速测试看看** diff --git a/docs/MatrixOne/FAQs/sql-faqs.md b/docs/MatrixOne/FAQs/sql-faqs.md index 2d43061d40..0d3fef15b5 100644 --- a/docs/MatrixOne/FAQs/sql-faqs.md +++ b/docs/MatrixOne/FAQs/sql-faqs.md @@ -102,7 +102,7 @@ MatrixOne 支持与 MySQL 相同的 [`INSERT`](../Develop/import-data/insert-dat **MatrixOne 支持从 Minio 导入数据吗?** 是支持的,load data 命令支持从本地文件、S3 对象存储服务以及 S3 兼容的对象存储服务中导入数据到 matrixone 中, -而 Minio 也是基于 S3 协议的,所以也是支持的,详情参见[本地对象存储导入数据](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Deploy/import-data-from-minio-to-mo/) +而 Minio 也是基于 S3 协议的,所以也是支持的,详情参见[本地对象存储导入数据](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Deploy/import-data-from-minio-to-mo/) **MatrixOne 导入导出数据时,如果出现编码问题,导致数据乱码,我们一般是怎么解决的** diff --git a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md index 1572050488..3c6df396fc 100644 --- a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md +++ b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md @@ -196,7 +196,7 @@ GCC_VERSION="8.5.0" CLANG_VERSION="13.0" GO_VERSION="1.20" MO_GIT_URL="https://github.com/matrixorigin/matrixone.git" -MO_DEFAULT_VERSION="v1.1.3" +MO_DEFAULT_VERSION="v1.2.0" GOPROXY="https://goproxy.cn,direct" STOP_INTERVAL="5" START_INTERVAL="2" @@ -212,7 +212,7 @@ PPROF_PROFILE_DURATION="30" ``` mo_ctl set_conf MO_PATH="yourpath" # 设置自定义的MatrixOne下载路径 mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" #针对github原地址下载过慢问题,设置镜像下载地址 -mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # 设置所下载的MatrixOne版本 +mo_ctl set_conf MO_DEFAULT_VERSION="v1.2.0" # 设置所下载的MatrixOne版本 mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码部署方式 ``` @@ -231,7 +231,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码 === "通过 MatrixOne (稳定版本) 代码安装" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` ## 步骤 4:启动 MatrixOne 服务 @@ -268,7 +268,7 @@ root@VM-16-2-debian:~# mo_ctl connect mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 15 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2023, Oracle and/or its affiliates. diff --git a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md index 44d66b576b..adba13c6b9 100644 --- a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md +++ b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md @@ -94,21 +94,21 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续 x86 架构系统安装包: ```bash - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip - unzip mo-v1.1.3-linux-x86_64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-x86_64.zip + unzip mo-v1.2.0-linux-x86_64.zip ``` ARM 架构系统安装包: ```bash - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip - unzip mo-v1.1.3-linux-arm64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-arm64.zip + unzip mo-v1.2.0-linux-arm64.zip ``` 如 github 原地址下载过慢,您可尝试从以下地址下载镜像包: ``` - wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-xxx.zip + wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-xxx.zip ``` === "**下载方式二:`curl` 工具下载二进制包**" @@ -116,26 +116,26 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续 x86 架构系统安装包: ```bash - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip - unzip mo-v1.1.3-linux-x86_64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-x86_64.zip + unzip mo-v1.2.--linux-x86_64.zip ``` ARM 架构系统安装包: ```bash - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip - unzip mo-v1.1.3-linux-arm64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-arm64.zip + unzip mo-v1.2.0-linux-arm64.zip ``` 如 github 原地址下载过慢,您可尝试从以下地址下载镜像包: ``` - curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-xxx.zip + curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-xxx.zip ``` === "**下载方式三:页面下载**" - 如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3),下拉找到 **Assets** 栏,点击安装包 *mo-v1.1.3-linux-x86_64.zip* 或者 *mo-v1.1.3-linux-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。 + 如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0),下拉找到 **Assets** 栏,点击安装包 *mo-v1.2.0-linux-x86_64.zip* 或者 *mo-v1.2.0-linux-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。 ### 基于 musl libc 构建的二进制包 @@ -144,47 +144,47 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续 x86 架构系统安装包: ```bash - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-x86_64.zip - unzip mo-v1.1.3-musl-x86_64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-x86_64.zip + unzip mo-v1.2.0-musl-x86_64.zip ``` ARM 架构系统安装包: ```bash - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-arm64.zip - unzip mo-v1.1.3-musl-arm64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-arm64.zip + unzip mo-v1.2.0-musl-arm64.zip ``` 如 github 原地址下载过慢,您可尝试从以下地址下载镜像包: ``` - wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-xxx.zip + wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-xxx.zip ``` === "**下载方式二:`curl` 工具下载二进制包**" x86 架构系统安装包: ```bash - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-x86_64.zip - unzip mo-v1.1.3-musl-x86_64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-x86_64.zip + unzip mo-v1.2.0-musl-x86_64.zip ``` ARM 架构系统安装包: ```bash - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-arm64.zip - unzip mo-v1.1.3-musl-arm64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-arm64.zip + unzip mo-v1.2.0-musl-arm64.zip ``` 如 github 原地址下载过慢,您可尝试从以下地址下载镜像包: ``` - curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-xxx.zip + curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-xxx.zip ``` === "**下载方式三:页面下载**" - 如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3),下拉找到 **Assets** 栏,点击安装包 *mo-v1.1.3-musl-x86_64.zip* 或者 *mo-v1.1.3-musl-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。 + 如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0),下拉找到 **Assets** 栏,点击安装包 *mo-v1.2.0-musl-x86_64.zip* 或者 *mo-v1.2.0-musl-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。 ## 步骤 3:安装 mo_ctl 工具 @@ -203,8 +203,8 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta 通过以下命令调整参数: ``` -mo_ctl set_conf MO_PATH="/yourpath/mo-v1.1.3-xx-xx" #设置MatrixOne路径为二进制解压文件目录 -mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.1.3-xx-xx/etc/launch/launch.toml" #设置MatrixOne配置文件路径 +mo_ctl set_conf MO_PATH="/yourpath/mo-v1.2.0-xx-xx" #设置MatrixOne路径为二进制解压文件目录 +mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.2.0-xx-xx/etc/launch/launch.toml" #设置MatrixOne配置文件路径 mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二进制部署方式 ``` @@ -212,17 +212,17 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二 通过 `mo_ctl start` 命令一键启动 MatrixOne 服务。 -如果运行正常将出现以下日志。MatrixOne 的相关运行日志会在 `/yourpath/mo-v1.1.3-xx-xx/matrixone/logs/` 中。 +如果运行正常将出现以下日志。MatrixOne 的相关运行日志会在 `/yourpath/mo-v1.2.0-xx-xx/matrixone/logs/` 中。 ``` > mo_ctl start 2024-03-07 14:34:04.942 UTC+0800 [INFO] No mo-service is running 2024-03-07 14:34:04.998 UTC+0800 [INFO] Get conf succeeded: MO_DEPLOY_MODE="binary" 2024-03-07 14:34:05.024 UTC+0800 [INFO] GO memory limit(Mi): 14745 -2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.1.3-linux-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.1.3-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-linux-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.1.3-linux-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.1.3-linux-arm64/matrixone/logs/stderr-20240307_143405.log +2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.2.0-linux-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.2.0-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-linux-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.2.0-linux-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.2.0-linux-arm64/matrixone/logs/stderr-20240307_143405.log 2024-03-07 14:34:05.137 UTC+0800 [INFO] Wait for 2 seconds 2024-03-07 14:34:07.261 UTC+0800 [INFO] At least one mo-service is running. Process info: - 501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.1.3-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-linux-arm64/etc/launch/launch.toml + 501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.2.0-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-linux-arm64/etc/launch/launch.toml 2024-03-07 14:34:07.284 UTC+0800 [INFO] List of pid(s): 27145 2024-03-07 14:34:07.308 UTC+0800 [INFO] Start succeeded @@ -243,7 +243,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二 2024-03-07 14:34:59.942 UTC+0800 [INFO] Ok, connecting for user ... Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 426 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. diff --git a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md index 6f9c8bf94c..a37a168ff0 100644 --- a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md +++ b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md @@ -70,18 +70,18 @@ Debian11.1 版本默认没有安装 MySQL Client,因此需要手动下载安 使用以下命令将从 Docker Hub 中拉取 MatrixOne 镜像,你可以选择稳定版本镜像,或开发版本镜像,当 Tag 为 `latest` 时获取最新稳定版本。 -=== "稳定版本的镜像(1.1.3)" +=== "稳定版本的镜像(1.2.0)" ```bash - docker pull matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.1.3 + docker pull matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.2.0 ``` 如果你使用的是中国大陆的网络,你可以拉取阿里云上的 MatrixOne 稳定版本镜像: ```bash - docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 + docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 ``` === "开发版本的镜像" @@ -105,7 +105,7 @@ Debian11.1 版本默认没有安装 MySQL Client,因此需要手动下载安 若 Docker 版本低于 20.10.18 或者 Docker client 和 Docker server 的版本不一致,推荐同时升级到 Docker 最新稳定版本后再尝试。若坚持使用,需要在 ```docker run``` 命令中加上参数 ```--privileged=true```,如: ```bash -docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3 +docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0 ``` 如需挂载数据目录或配置自定义文件,参见[挂载目录到 Docker 容器](../../Maintain/mount-data-by-docker.md)。 @@ -128,7 +128,7 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta ``` mo_ctl set_conf MO_CONTAINER_DATA_HOST_PATH="/yourpath/mo/" # 宿主机mo的数据目录 -mo_ctl set_conf MO_CONTAINER_IMAGE="matrixorigin/matrixone:1.1.3" # 设置镜像,国内的可以用registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 +mo_ctl set_conf MO_CONTAINER_IMAGE="matrixorigin/matrixone:1.2.0" # 设置镜像,国内的可以用registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 mo_ctl set_conf MO_DEPLOY_MODE=docker #设置MatrixOne部署方式,此为docker部署方式 ``` @@ -162,7 +162,7 @@ MO_CONTAINER_EXTRA_MOUNT_OPTION="" #额外的挂载参数,比如 -v xx:xx:xx === "通过 MatrixOne (稳定版本) 代码安装" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` - 启动 Matrixone @@ -194,7 +194,7 @@ mysql -h 127.0.0.1 -P 6001 -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5982 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. @@ -221,7 +221,7 @@ mo_ctl connect 2024-03-08 11:13:34.420 UTC+0800 [INFO] Ok, connecting for user ... Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5849 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. diff --git a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md index fbd7134fc5..99ae13d89b 100644 --- a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md +++ b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md @@ -177,7 +177,7 @@ GCC_VERSION="8.5.0" CLANG_VERSION="13.0" GO_VERSION="1.20" MO_GIT_URL="https://github.com/matrixorigin/matrixone.git" -MO_DEFAULT_VERSION="v1.1.3" +MO_DEFAULT_VERSION="v1.2.0" GOPROXY="https://goproxy.cn,direct" STOP_INTERVAL="5" START_INTERVAL="2" @@ -193,7 +193,7 @@ PPROF_PROFILE_DURATION="30" ``` mo_ctl set_conf MO_PATH="yourpath" # 设置自定义的MatrixOne下载路径 mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" #针对github原地址下载过慢问题,设置镜像下载地址 -mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # 设置所下载的MatrixOne版本 +mo_ctl set_conf MO_DEFAULT_VERSION="v1.2.0" # 设置所下载的MatrixOne版本 mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码部署方式 ``` @@ -212,7 +212,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码 === "通过 MatrixOne (稳定版本) 代码安装" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` ## 步骤 4:启动 MatrixOne 服务 @@ -249,7 +249,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码 mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 15 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2023, Oracle and/or its affiliates. diff --git a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md index 912a40b00d..92e0fef89e 100644 --- a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md +++ b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md @@ -92,21 +92,21 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续 x86 架构系统安装包: ```bash - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-x86_64.zip - unzip mo-v1.1.3-darwin-x86_64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-x86_64.zip + unzip mo-v1.2.0-darwin-x86_64.zip ``` ARM 架构系统安装包: ```bash - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-arm64.zip - unzip mo-v1.1.3-darwin-arm64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-arm64.zip + unzip mo-v1.2.0-darwin-arm64.zip ``` 如 github 原地址下载过慢,您可尝试从以下地址下载镜像包: ``` - wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-xxx.zip + wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-xxx.zip ``` === "**下载方式二:`curl` 工具下载二进制包**" @@ -114,26 +114,26 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续 x86 架构系统安装包: ```bash - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-x86_64.zip - unzip mo-v1.1.3-darwin-x86_64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-x86_64.zip + unzip mo-v1.2.0-darwin-x86_64.zip ``` ARM 架构系统安装包: ```bash - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-arm64.zip - unzip mo-v1.1.3-darwin-arm64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-arm64.zip + unzip mo-v1.2.0-darwin-arm64.zip ``` 如 github 原地址下载过慢,您可尝试从以下地址下载镜像包: ``` - curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-xxx.zip + curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-xxx.zip ``` === "**下载方式三:页面下载**" - 如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3),下拉找到 **Assets** 栏,点击安装包 *mo-v1.1.3-darwin-x86_64.zip* 或 *mo-v1.1.3-darwin-arm64.zip* 下载即可。 + 如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0),下拉找到 **Assets** 栏,点击安装包 *mo-v1.2.0-darwin-x86_64.zip* 或 *mo-v1.2.0-darwin-arm64.zip* 下载即可。 ## 步骤 3:安装 mo_ctl 工具 @@ -152,8 +152,8 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta 通过以下命令调整参数: ``` -mo_ctl set_conf MO_PATH="/yourpath/mo-v1.1.3-xx-xx" #设置MatrixOne路径为二进制解压文件目录 -mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.1.3-xx-xx/etc/launch/launch.toml" #设置MatrixOne配置文件路径 +mo_ctl set_conf MO_PATH="/yourpath/mo-v1.2.0-xx-xx" #设置MatrixOne路径为二进制解压文件目录 +mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.2.0-xx-xx/etc/launch/launch.toml" #设置MatrixOne配置文件路径 mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二进制部署方式 ``` @@ -161,17 +161,17 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二 通过 `mo_ctl start` 命令一键启动 MatrixOne 服务。 -如果运行正常将出现以下日志。MatrixOne 的相关运行日志会在 `/yourpath/mo-v1.1.3-xx-xx/matrixone/logs/` 中。 +如果运行正常将出现以下日志。MatrixOne 的相关运行日志会在 `/yourpath/mo-v1.2.0-xx-xx/matrixone/logs/` 中。 ``` > mo_ctl start 2024-03-07 14:34:04.942 UTC+0800 [INFO] No mo-service is running 2024-03-07 14:34:04.998 UTC+0800 [INFO] Get conf succeeded: MO_DEPLOY_MODE="binary" 2024-03-07 14:34:05.024 UTC+0800 [INFO] GO memory limit(Mi): 14745 -2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.1.3-darwin-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.1.3-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-darwin-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.1.3-darwin-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.1.3-darwin-arm64/matrixone/logs/stderr-20240307_143405.log +2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.2.0-darwin-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.2.0-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-darwin-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.2.0-darwin-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.2.0-darwin-arm64/matrixone/logs/stderr-20240307_143405.log 2024-03-07 14:34:05.137 UTC+0800 [INFO] Wait for 2 seconds 2024-03-07 14:34:07.261 UTC+0800 [INFO] At least one mo-service is running. Process info: - 501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.1.3-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-darwin-arm64/etc/launch/launch.toml + 501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.2.0-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-darwin-arm64/etc/launch/launch.toml 2024-03-07 14:34:07.284 UTC+0800 [INFO] List of pid(s): 27145 2024-03-07 14:34:07.308 UTC+0800 [INFO] Start succeeded @@ -192,7 +192,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二 2024-03-07 14:34:59.942 UTC+0800 [INFO] Ok, connecting for user ... Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 426 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. diff --git a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md index 56a533b6b1..07124b0394 100644 --- a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md +++ b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md @@ -56,18 +56,18 @@ 使用以下命令将从 Docker Hub 中拉取 MatrixOne 镜像,你可以选择稳定版本镜像,或开发版本镜像,当 Tag 为 `latest` 时获取最新稳定版本。 -=== "稳定版本的镜像(1.1.3)" +=== "稳定版本的镜像(1.2.0)" ```bash - docker pull matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.1.3 + docker pull matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.2.0 ``` 如果你使用的是中国大陆的网络,你可以拉取阿里云上的 MatrixOne 稳定版本镜像: ```bash - docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 + docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 ``` === "开发版本的镜像" @@ -91,7 +91,7 @@ 若 Docker 版本低于 20.10.18 或者 Docker client 和 Docker server 的版本不一致,推荐同时升级到 Docker 最新稳定版本后再尝试。若坚持使用,需要在 ```docker run``` 命令中加上参数 ```--privileged=true```,如: ```bash -docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3 +docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0 ``` 如需挂载数据目录或配置自定义文件,参见[挂载目录到 Docker 容器](../../Maintain/mount-data-by-docker.md)。 @@ -114,7 +114,7 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta ``` mo_ctl set_conf MO_CONTAINER_DATA_HOST_PATH="/yourpath/mo/" # 宿主机mo的数据目录 -mo_ctl set_conf MO_CONTAINER_IMAGE="matrixorigin/matrixone:1.1.3" # 设置镜像,国内的可以用registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 +mo_ctl set_conf MO_CONTAINER_IMAGE="matrixorigin/matrixone:1.2.0" # 设置镜像,国内的可以用registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 mo_ctl set_conf MO_DEPLOY_MODE=docker #设置MatrixOne部署方式,此为docker部署方式 ``` @@ -148,7 +148,7 @@ MO_CONTAINER_EXTRA_MOUNT_OPTION="" #额外的挂载参数,比如 -v xx:xx:xx === "通过 MatrixOne (稳定版本) 代码安装" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` - 启动 Matrixone @@ -180,7 +180,7 @@ Enter password: # 初始密码默认为 111 Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5982 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. @@ -207,7 +207,7 @@ mo_ctl connect 2024-03-08 11:13:34.420 UTC+0800 [INFO] Ok, connecting for user ... Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5849 -Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne +Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. diff --git a/docs/MatrixOne/Maintain/mo_ctl.md b/docs/MatrixOne/Maintain/mo_ctl.md index 91a25f3262..f4cfba0554 100644 --- a/docs/MatrixOne/Maintain/mo_ctl.md +++ b/docs/MatrixOne/Maintain/mo_ctl.md @@ -144,12 +144,12 @@ mo_ctl deploy help Usage : mo_ctl deploy [mo_version] [force] # deploy mo onto the path configured [mo_version]: optional, specify an mo version to deploy [force] : optional, if specified will delete all content under MO_PATH and deploy from beginning - e.g. : mo_ctl deploy # default, same as mo_ctl deploy 1.1.3 + e.g. : mo_ctl deploy # default, same as mo_ctl deploy 1.2.0 : mo_ctl deploy main # deploy development latest version : mo_ctl deploy d29764a # deploy development version d29764a - : mo_ctl deploy 1.1.3 # deploy stable verson 1.1.3 - : mo_ctl deploy force # delete all under MO_PATH and deploy verson 1.1.3 - : mo_ctl deploy 1.1.3 force # delete all under MO_PATH and deploy stable verson 1.1.3 from beginning + : mo_ctl deploy 1.2.0 # deploy stable verson 1.2.0 + : mo_ctl deploy force # delete all under MO_PATH and deploy verson 1.2.0 + : mo_ctl deploy 1.2.0 force # delete all under MO_PATH and deploy stable verson 1.2.0 from beginning ``` ### start - 启动 MatrixOne 服务 @@ -289,7 +289,7 @@ Usage : mo_ctl getconf [conf_list] # get configurations | GCC_VERSION | precheck 检查的 gcc 版本 | 默认为 8.5.0 | | GO_VERSION | precheck 检查的 go 版本 | 默认为 1.20 | | MO_GIT_URL | MatrixOne 的源码拉取地址 | 默认为 | -| MO_DEFAULT_VERSION | 默认拉取的 MatrixOne 的版本 | 默认为 1.1.3 | +| MO_DEFAULT_VERSION | 默认拉取的 MatrixOne 的版本 | 默认为 1.2.0 | | GOPROXY | GOPROXY 的地址,一般为国内加速拉取 golang 依赖包而使用 | 默认为,direct | | STOP_INTERVAL | 停止间隔,停止服务后检测服务状态等待时间 | 默认为 5 秒 | | START_INTERVAL | 启动间隔,启动服务后检测服务状态等待时间 | 默认为 2 秒 | @@ -342,11 +342,11 @@ MatrixOne 0.8 及更高版本可使用 `mo_ctl upgrade version` 或者 `mo_ctl u ``` mo_ctl upgrade help Usage : mo_ctl upgrade [version_commitid] # upgrade or downgrade mo from current version to a target commit id or stable version - [commitid] : a commit id such as '38888f7', or a stable version such as '1.1.3' + [commitid] : a commit id such as '38888f7', or a stable version such as '1.2.0' : use 'latest' to upgrade to latest commit on main branch if you don't know the id e.g. : mo_ctl upgrade 38888f7 # upgrade/downgrade to commit id 38888f7 on main branch : mo_ctl upgrade latest # upgrade/downgrade to latest commit on main branch - : mo_ctl upgrade 1.1.3 # upgrade/downgrade to stable version 1.1.3 + : mo_ctl upgrade 1.2.0 # upgrade/downgrade to stable version 1.2.0 ``` ### watchdog - 保活 MatrixOne diff --git a/docs/MatrixOne/Maintain/mount-data-by-docker.md b/docs/MatrixOne/Maintain/mount-data-by-docker.md index 71eccfd15b..761503c5b7 100644 --- a/docs/MatrixOne/Maintain/mount-data-by-docker.md +++ b/docs/MatrixOne/Maintain/mount-data-by-docker.md @@ -17,7 +17,7 @@ 2. 把本地**空目录** *${local_data_path}/mo-data* 挂载到 Docker 容器目录 */mo-data* 下,命令示例如下: ```bash - sudo docker run --name -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.1.3 + sudo docker run --name -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.2.0 ``` | 参数 | 描述 | @@ -31,7 +31,7 @@ 1. 首先启动一个 MatrixOne 的容器实例,这个容器实例将提供一套标准的启动配置文件: ```bash - docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.1.3 + docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.2.0 ``` 2. 查看 Docker 已经启动的 MatrixOne 的 containerID,并将配置文件目录拷贝到本地目录的 *${local_config_path}* 目录下: @@ -53,7 +53,7 @@ 6. 挂载配置文件到 Docker 容器目录,同时创建并启动 MatrixOne,挂载命令示例如下: ```bash - sudo docker run --name -d -p 6001:6001 -v ${local_config_path}/launch:/etc/launch:rw --entrypoint "/mo-service" matrixorigin/matrixone:1.1.3 -launch /etc/launch/launch.toml + sudo docker run --name -d -p 6001:6001 -v ${local_config_path}/launch:/etc/launch:rw --entrypoint "/mo-service" matrixorigin/matrixone:1.2.0 -launch /etc/launch/launch.toml ``` | 参数 | 描述 | @@ -66,7 +66,7 @@ 若 Docker 版本低于 20.10.18 或者 Docker client 和 Docker server 的版本不一致,推荐同时升级到 Docker 最新稳定版本后再尝试。若坚持使用,需要在 ```docker run``` 命令中加上参数 ```--privileged=true```,如: ```bash - docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3 + docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0 ``` 更多关于 *Docker run* 的指令释义,运行命令 `docker run --help` 进行查看。 diff --git a/docs/MatrixOne/Migrate/migrate-from-mysql-to-matrixone.md b/docs/MatrixOne/Migrate/migrate-from-mysql-to-matrixone.md index bd33a6bb13..c0018497dc 100644 --- a/docs/MatrixOne/Migrate/migrate-from-mysql-to-matrixone.md +++ b/docs/MatrixOne/Migrate/migrate-from-mysql-to-matrixone.md @@ -164,6 +164,6 @@ MatrixOne 中,数据类型在保持与 MySQL 命名一致的情况下,在精 ## 限制 -MatrixOne 1.1.3 版本已经支持 MySQL 的建表语句,因此可以顺畅地将 MySQL 表迁移到 MatrixOne 上。不过需要注意,在迁移过程中,不兼容 MySQL 部分关键字,如 `engine=` 等,在 MatrixOne 中会被自动忽略,也不会影响表结构的迁移。 +MatrixOne 1.2.0 版本已经支持 MySQL 的建表语句,因此可以顺畅地将 MySQL 表迁移到 MatrixOne 上。不过需要注意,在迁移过程中,不兼容 MySQL 部分关键字,如 `engine=` 等,在 MatrixOne 中会被自动忽略,也不会影响表结构的迁移。 但需要特别注意的是,尽管 MatrixOne 支持 MySQL 建表语句,如果迁移的表中包含不兼容的数据类型、触发器、函数或存储过程,仍需要手动修改。更多详细的兼容性信息,参见 [MySQL 兼容性](../Overview/feature/mysql-compatibility.md)。 diff --git a/docs/MatrixOne/Overview/feature/feature-overview.md b/docs/MatrixOne/Overview/feature/feature-overview.md index 7de8c1abd9..d0280298e6 100644 --- a/docs/MatrixOne/Overview/feature/feature-overview.md +++ b/docs/MatrixOne/Overview/feature/feature-overview.md @@ -2,7 +2,7 @@ ## MatrixOne 特性 -在 MatrixOne 版本 1.1.3 中,具有如下特性,让你在使用 MatrixOne 的过程中更加高效: +在 MatrixOne 版本 1.2.0 中,具有如下特性,让你在使用 MatrixOne 的过程中更加高效: ### 分布式架构 diff --git a/docs/MatrixOne/Reference/Functions-and-Operators/system-ops/version.md b/docs/MatrixOne/Reference/Functions-and-Operators/system-ops/version.md index f5466f3eb7..35659b4543 100644 --- a/docs/MatrixOne/Reference/Functions-and-Operators/system-ops/version.md +++ b/docs/MatrixOne/Reference/Functions-and-Operators/system-ops/version.md @@ -2,7 +2,7 @@ ## **函数说明** -`VERSION()` 函数用于获取当前 MatrixOne 的版本信息。这个函数通常返回一个字符串,包含了 MatrixOne 的版本号。如 8.0.30-MatrixOne-v1.1.3,表示 MatrixOn 的版本号是 8.0.30-MatrixOne-v1.1.3, 它的定义是 MySQL 兼容版本号 (8.0.30) + MatrixOne + MatrixOne 内核版本 (v1.1.3)。 +`VERSION()` 函数用于获取当前 MatrixOne 的版本信息。这个函数通常返回一个字符串,包含了 MatrixOne 的版本号。如 8.0.30-MatrixOne-v1.2.0,表示 MatrixOn 的版本号是 8.0.30-MatrixOne-v1.2.0, 它的定义是 MySQL 兼容版本号 (8.0.30) + MatrixOne + MatrixOne 内核版本 (v1.2.0)。 ## **函数语法** @@ -17,7 +17,7 @@ mysql> select version(); +-------------------------+ | version() | +-------------------------+ -| 8.0.30-MatrixOne-v1.1.3 | +| 8.0.30-MatrixOne-v1.2.0 | +-------------------------+ 1 row in set (0.00 sec) ``` diff --git a/docs/MatrixOne/Security/TLS-introduction.md b/docs/MatrixOne/Security/TLS-introduction.md index 3e7b96227c..742e475493 100644 --- a/docs/MatrixOne/Security/TLS-introduction.md +++ b/docs/MatrixOne/Security/TLS-introduction.md @@ -109,7 +109,7 @@ MatrixOne 默认采用非加密传输,也支持启用基于 TLS 协议的加 Current pager: stdout Using outfile: '' Using delimiter: ; - Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne + Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Server characterset: utf8mb4 @@ -134,7 +134,7 @@ MatrixOne 默认采用非加密传输,也支持启用基于 TLS 协议的加 Current pager: stdout Using outfile: '' Using delimiter: ; - Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne + Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Server characterset: utf8mb4