Skip to content

linux下sqlshell直接执行sql语句报错 #180

@ContyChen

Description

@ContyChen

wsl环境下运行sqlshell 直接执行语句报错:
image

./sqlshell.sh -url jdbc:lealone:tcp://127.0.0.1/lealone -user root -sql "select 1"
错误信息:
Options are case sensitive. Supported options are:

[-help] or [-?] Print the list of options
[-url ""] The database URL (jdbc:lealone:...)
[-user ] The user name
[-password ] The password
[-database ] The database
[-sql ""] Execute the SQL statements and exit

If special characters don't work as expected,
you may need to use -Dfile.encoding=UTF-8 (Mac OS X) or CP850 (Windows).

Connection closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions