From ba668a9b40da4dd923a4b3b1f07eb5203925cfd2 Mon Sep 17 00:00:00 2001 From: isadba Date: Wed, 31 May 2023 21:32:51 +0800 Subject: [PATCH 1/3] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docker安装的MySQL密码与代码中的初始化密码不一致。 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18dd30f80..2427b54d9 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ As our project has the ability to achieve ChatGPT performance of over 85%, there This project relies on a local MySQL database service, which you need to install locally. We recommend using Docker for installation. ```bash -$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest +$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest ``` We use [Chroma embedding database](https://github.com/chroma-core/chroma) as the default for our vector database, so there is no need for special installation. If you choose to connect to other databases, you can follow our tutorial for installation and configuration. For the entire installation process of DB-GPT, we use the miniconda3 virtual environment. Create a virtual environment and install the Python dependencies. From bd3cf25fbb708db2228f7ad5df0aaaeab291e5c5 Mon Sep 17 00:00:00 2001 From: fenghao Date: Wed, 31 May 2023 21:42:01 +0800 Subject: [PATCH 2/3] =?UTF-8?q?Docker=E5=AE=89=E8=A3=85=E7=9A=84MySQL?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E4=B8=8E=E4=BB=A3=E7=A0=81=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E5=AF=86=E7=A0=81=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.zh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh.md b/README.zh.md index b84671da2..0b9456e99 100644 --- a/README.zh.md +++ b/README.zh.md @@ -147,7 +147,7 @@ TODO: 在终端展示上,我们将提供多端产品界面。包括PC、手机 本项目依赖一个本地的 MySQL 数据库服务,你需要本地安装,推荐直接使用 Docker 安装。 ``` -docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest +docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest ``` 向量数据库我们默认使用的是Chroma内存数据库,所以无需特殊安装,如果有需要连接其他的同学,可以按照我们的教程进行安装配置。整个DB-GPT的安装过程,我们使用的是miniconda3的虚拟环境。创建虚拟环境,并安装python依赖包 From 2dd12d0c3b62fdcfa2b0b4831ade37b1f43612d1 Mon Sep 17 00:00:00 2001 From: fenghao Date: Fri, 2 Jun 2023 21:12:16 +0800 Subject: [PATCH 3/3] fix .env.template --- .env.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.template b/.env.template index 3fe762e73..39f9eeaf7 100644 --- a/.env.template +++ b/.env.template @@ -41,7 +41,7 @@ MAX_POSITION_EMBEDDINGS=4096 #** DATABASE SETTINGS **# #*******************************************************************# LOCAL_DB_USER=root -LOCAL_DB_PASSWORD=aa12345678 +LOCAL_DB_PASSWORD=aa123456 LOCAL_DB_HOST=127.0.0.1 LOCAL_DB_PORT=3306