Skip to content

Commit 308b175

Browse files
authored
Merge pull request #450 from carlosms/readme-gitbase-conn
Add gitbase connection details to readme
2 parents c38c6c6 + 2b6ca31 commit 308b175

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)