Skip to content

not working on debian buster 10 #498

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

Open
ghost opened this issue Nov 13, 2020 · 1 comment
Open

not working on debian buster 10 #498

ghost opened this issue Nov 13, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 13, 2020

The following packages have unmet dependencies:
mssql-cli : Depends: libicu52 but it is not installable or
libicu55 but it is not installable or
libicu57 but it is not installable or
libicu60 but it is not installable

These dependencies arent available and there no documentaton covering debian buster 10, just 8 and 9.

@paglop
Copy link

paglop commented Apr 1, 2021

On Debian 10 with python :

install

root@zzzz:~# pip3 install mssql-cli
...
Successfully installed mssql-cli-1.0.0
root@zzzz:

After modify last line of /usr/local/bin/mssql-ci with "python3.7" :
...
python3.7 -m mssqlcli.main "$@"
...

Test :

root@zzzz:~# mssql-cli -S 192.x.x.x -d babxxx -U xxx -P Babxxxx
Error message: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)

But

Edit /etc/ssl/opennssl.cnf and modify :
[system_default_sect]
#MinProtocol = TLSv1.2
MinProtocol = TLSv1.0
#CipherString = DEFAULT@SECLEVEL=2
CipherString = DEFAULT@SECLEVEL=1

And Re TEST :

root@zzzz:~# mssql-cli -S 192.x.x.x -d babxxx -U xxx -P Babxxxx
babxxx>
babxxx> select top 10 [CardNo] from "dbo"."TableXXX"
Time: 1.007s (a second)
+----------+

CardNo
000001
000002
000003
000004
000005
000006
000007
000008
000009
000010
+----------+
(10 rows affected)
babyxxx>

It's ok i think for Sql Server 2012 without update

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