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

Without output with sqls #145

Open
ruanwenjun opened this issue Apr 8, 2024 · 1 comment
Open

Without output with sqls #145

ruanwenjun opened this issue Apr 8, 2024 · 1 comment

Comments

@ruanwenjun
Copy link

ruanwenjun commented Apr 8, 2024

Describe the bug
I install sqls, and execute sqls with config, but got no output.

To Reproduce

Steps to reproduce the behavior:

  1. Create a config file
  2. Execute sqls --config lsp.config -t
  3. Got
sqls --config lsp.config -t
2024/04/08 13:16:00 db worker: start
2024/04/08 13:16:00 sqls: reading on stdin, writing on stdout

My config is

# Set to true to use lowercase keywords instead of uppercase.
lowercaseKeywords: false
connections:
  - alias: individual_mysql
    driver: mysql
    proto: tcp
    user: root
    passwd: root
    host: 127.0.0.1
    port: 3306
    dbName: demo
    params:
      useUnicode: true
      characterEncoding: UTF-8
      allowMultiQueries: true

Expected behavior
A clear and concise description of what you expected to happen.

Versions (please complete the following information):

  • OS Version: [linux/amd64]
  • sqls Version [go1.22.2]

Additional context
Add any other context about the problem here.

@ruanwenjun
Copy link
Author

It seems sqls only support lsp doesn't support read input from console.

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

No branches or pull requests

1 participant