[Ubuntu] Add MS SQL Tools version (#2046)

* Add MS SQL Tools version

* Minor fix

* Move MS SQL tools installation to separated file

* Minor fix

* accept yula
This commit is contained in:
Vladimir Safonkin
2020-11-17 10:18:27 +03:00
committed by GitHub
parent efcf173e49
commit a454d66e7f
7 changed files with 39 additions and 7 deletions

View File

@@ -31,11 +31,6 @@ apt-get install -y mysql-server
#Install MySQL Dev tools
apt install libmysqlclient-dev -y
# Install MS SQL Server client tools (https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools?view=sql-server-2017)
apt-get install -y mssql-tools unixodbc-dev
apt-get -f install
ln -s /opt/mssql-tools/bin/* /usr/local/bin/
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
if ! command -v mysql; then