sqls icon indicating copy to clipboard operation
sqls copied to clipboard

Without output with sqls

Open ruanwenjun opened this issue 3 months ago • 1 comments

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 avatar Apr 08 '24 05:04 ruanwenjun