Skip to content

Commit 2b6ca31

Browse files
committedApr 19, 2019
Add gitbase connection details to readme
Signed-off-by: Carlos Martín <[email protected]>
1 parent 3564571 commit 2b6ca31

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

‎README.md

+11
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,17 @@ srcd sql "SHOW tables;"
207207
**Note:**
208208
Engine's SQL supports a [UAST](#babelfish-uast) function that returns a Universal AST for the selected source text. UAST values are returned as binary blobs, and are best visualized in the `web sql` interface rather than the CLI where are seen as binary data.
209209

210+
##### From Any MySQL Client
211+
212+
You may also connect directly to gitbase using any MySQL compatible client. Use the login user **root**, no password, and database name **gitbase**.
213+
214+
```bash
215+
# Start the component if needed
216+
srcd start srcd-cli-gitbase
217+
218+
mysql --user=root --host=127.0.0.1 --port=3306 gitbase
219+
```
220+
210221
#### Parsing Code
211222

212223
Sometimes you may want to parse files directly as [UASTs](#babelfish-uast).

0 commit comments

Comments
 (0)
Please sign in to comment.