Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议支持socket方式登录 #171

Closed
zpcnoob opened this issue Dec 20, 2018 · 2 comments
Closed

建议支持socket方式登录 #171

zpcnoob opened this issue Dec 20, 2018 · 2 comments
Labels
doing duplicate This issue or pull request already exists feature request

Comments

@zpcnoob
Copy link

zpcnoob commented Dec 20, 2018

Please search the existing issues for relevant feature requests, add upvotes to pre-existing requests.

Feature Description

A written overview of the feature.

Use Case(s)

Any relevant use-cases that you see.

@martianzhang martianzhang added feature request duplicate This issue or pull request already exists labels Dec 20, 2018
@martianzhang
Copy link
Contributor

#133 will deal with it.

@martianzhang
Copy link
Contributor

use socket in soar.yaml config file

online-dsn:
    net:      unix
    addr:     /tmp/mysql.sock
    schema:   test
    user:     root
    password: 123456
    disable:  false

test-dsn:
    net:      unix
    addr:     /tmp/mysql.sock
    schema:   test
    user:     root
    password: 123456
    disable:  false

allow-online-as-test: true

use socket in comand-line

./soar -test-dsn="root:123456@unix(/tmp/mysql.sock)/test" -allow-online-as-test -query "select * from tb"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doing duplicate This issue or pull request already exists feature request
Projects
None yet
Development

No branches or pull requests

2 participants