sqlcmd is running but database shown no running query
Probably not too many people using CentOS &amp; sqlcmd so I would investigate that first or
maybe you should try out mssql-cli instead ?
https://github.com/dbcli/mssql-cli/tree/master/doc/installation