Browse Source

Merge remote-tracking branch 'origin/master'

enilu 6 years ago
parent
commit
1340c108f3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/quickstart/initDb.md

+ 2 - 2
doc/quickstart/initDb.md

@@ -17,7 +17,7 @@
 - mongodb(安装4.0的版本)
     - 创建mongodb库
         ```sql
-        user flash-waimai
+        use flash-waimai
         ```
     - 初始化数据,由于测试数据量较大,将测试数据打包放在了百度云盘:链接:[https://pan.baidu.com/s/1mfO7yckFL7lMb_O0BPsviw](https://pan.baidu.com/s/1mfO7yckFL7lMb_O0BPsviw)  提取码:apgd 下载后将文件解压到d:\\elm,使用如下命令导入数据:
         ```
@@ -38,4 +38,4 @@ spring.jpa.hibernate.ddl-auto=create
 flash.waimai.mongodb.init=true
 使用客户端连接mongodb数据库为shop表创建索引:
 db.shops.createIndex({location: "2dsphere"})
-```  
+```