question

sudharsanmoorthy-6544 avatar image
0 Votes"
sudharsanmoorthy-6544 asked sudharsanmoorthy-6544 answered

while connecting to my sql server sqlcmd is not working

175751-capture.png


while connecting to my sql server it is showing this error. while investigating with
cmd:
odbcinst -j

it yielded:

unixODBC 2.3.7
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES..: /etc/ODBCDataSources
USER DATA SOURCES..: /home/azureuser/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8

tried executing :
sudo ln -s /usr/local/etc/odbcinst.ini /etc/odbcinst.ini
sudo ln -s /usr/local/etc/odbc.ini /etc/odbc.ini

it gave file exists error:

ln: failed to create symbolic link '/etc/odbcinst.ini': File exists

ln: failed to create symbolic link '/etc/odbc.ini': File exists

azure-virtual-machinesazure-database-mysqlazure-sql-virtual-machines
capture.png (109.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

sudharsanmoorthy-6544 avatar image
0 Votes"
sudharsanmoorthy-6544 answered

can anyone know how to solve this issue

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.