Skip to content

[DOC] How to connect MySQL with SQLFlow - #917

Merged
weiguoz merged 5 commits into
sql-machine-learning:developfrom
tonyyang-svail:add_mysql_doc
Sep 24, 2019
Merged

weiguoz merged 5 commits into
sql-machine-learning:developfrom
tonyyang-svail:add_mysql_doc

Conversation

@tonyyang-svail

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread doc/run_with_mysql.md Outdated
SQLFLOW_SERVER=localhost:50051 jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root --NotebookApp.token=''"
```

Open [localhost:8888](localhost:8888) through a web browser, and you will find there are many SQLFlow tutorials, e.g. `iris-dnn.ipynb`. Please follow the tutorials and substitute the data for your use.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks [localhost:8888](localhost:8888) won't be rendered as a link. So, let's just write localhost:8888 here

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, thanks.

Comment thread doc/run_with_mysql.md Outdated

## Create a MySQL server locally for testing

Our official Docker image has installed `mysql` server. We can start it by `docker run --rm -it sqlflow/sqlflow bash`, then type `service mysql start` in the console. We should be able to see

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

installed mysql => installed a mysql ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, thanks.

@weiguoz
weiguoz self-requested a review September 24, 2019 05:09

@weiguoz weiguoz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread doc/run_with_mysql.md

This tutorial explains how to connect SQLFlow with [MySQL](https://en.wikipedia.org/wiki/MySQL).

## Connect Existing MySQL server

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weiguoz
weiguoz merged commit 71c9e5c into sql-machine-learning:develop Sep 24, 2019
@typhoonzero typhoonzero mentioned this pull request Sep 24, 2019
shendiaomo pushed a commit to shendiaomo/sqlflow that referenced this pull request Oct 22, 2019
* [DOC] How to connect MySQL with SQLFlow

* follow grammarly checks

* fix typo

* follow comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants