Skip to content

Commit

Permalink
docs: update sql cell manual
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk committed Oct 17, 2024
1 parent 1c79047 commit 0cb34f6
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions apps/docs/docs/manual/sql-cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,28 @@ jpserver_extensions:
libro_sql: True
```
> <span style="font-style: normal;">💡 **Tip**: 如果没有上述 libro 的配置文件可通过在终端中运行命令 `libro config generate` 生成.</span>

2. 在终端中运行命令libro启动 libro
> <span style="font-style: normal;">💡 **Tip**: 如果没有上述 libro 的配置文件可通过在终端中运行命令 `libro config generate` 生成.<br/>
> 此外,mysql、sqlite 的配置示例如下:
>
> ```yaml
> - db_type: mysql
> username: 'root'
> password: '12345678'
> host: '127.0.0.1'
> port: 3306
> database: sql_demo
>
> - db_type: sqlite
> username: ''
> password: ''
> host: ''
> port: 0
> database: sql_demo.db #.db 文件相较于 libro 启动路径的位置
> ```
>
> </span>

2. 在终端中运行命令libro启动 libro,如果已经启动 libro ,则配置完成之后重启内核。

### 案例 1:分析不同产品的销量

Expand Down

0 comments on commit 0cb34f6

Please sign in to comment.