Questions tagged [sqlserver]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
4answers
6k views

Can I work with Sql Server, Office and C# using Linux?

I want to start working with linux, and I know I should work in that regularly to improve myself. I work with sql server, office, c# at the company. can I install and do my tasks in linux (i.e. red ...
4
votes
5answers
7k views

sqlcmd does not work: Can't open lib libmsodbcsql.13.dylib

I've installed mssql-tools and msodbcsql, And I've symlinked /usr/local/homebrew/lib/libmsodbcsql.13.dylib to /usr/local/lib/libmsodbcsql.13.dylib But sqlcmd still complains about missing lib, %>...
4
votes
2answers
2k views

How do I hide TracerPID from a process?

I'm conjecturing SQL Server on Linux is checking /proc/self/status for TracerPID and then dying if it's not 0. I want to test that. Playing around, here is the strace, ... lots of stuff openat(...
3
votes
1answer
292 views

Can getauxval be used to determine whether or not you're being traced?

Coming off of this question, I patched my kernel in a quest to get SQL Server 2017 on Linux to start up. Now I'm getting further but I'm being shut down, strstr("TracerPid:\t0\n", "TracerPid:") ...
3
votes
1answer
682 views

BCP neither gives results nor outputs anything when using valid statements but it does throw errors when passing invalid parameters

I have to use bcp command-line tool to export data from an SQL Server database to a file in a Red Hat server. I am (apparently) using valid statements but bcp is not producing any kind of output/...
3
votes
2answers
3k views

backup MSSQL database to a client's local disk over network

I'm trying to backup a MSSQL server from linux. I'm able to connect to the server using tsql (from the freetds project), and I'm even able to backup the database on the server using the backup ...
2
votes
3answers
1k views

kdump in CentOS 7

I wanted to migrate to CentOS 7.5 from CentOS 6.9. during installation I saw an option kdump that i could enable or disable. I wonder what is kdump and disabling it has any bad effect on server? I ...
2
votes
1answer
9k views

Cannot run test program while cross compiling - cross compiling Firebird

I've tried to compile firebird server for arm linux, with cross-compiler (it's choosen - it's working properly). When using: ./autogen.sh --host=arm-linux-gnu I get this error: checking for ...
2
votes
1answer
259 views

MSSQL database server on UNIX

I have heard rumors, but did not manage to find anything more, about some sort of MSSQL serving on UNIX machine, or MSSQL/MySQL server, that can handle MSSQL storage. I would like to know, if it is ...
2
votes
1answer
200 views

Unexpected behavior of file descriptor and/or I/O streams after running sqlcmd with -i option (read sql from file) in ksh creates infinite loop

Is there a way to use sqlcmd with -i input_file option without creating an infinite loop in my ksh script? The code reads lines from $file and parses it line-by-line to extract data and process other ...
1
vote
2answers
10k views

Can't Install php-mssql or freetds on Centos7

My goal is to connect to MS SQL Server 2005 using PHP. I have installed PHP and ODBC. I am running CentOS7. PHP Version => 5.4.16 .... (from php -i) .... odbc ODBC Support => enabled I am ...
1
vote
1answer
481 views

"sqldeveloper-18.1.0.095.1630-no-jre.zip" not found, aborting... error message [closed]

During installation of Debian package builder for Oracle SQL developer in Ubuntu 18.04, I used the following command: make-sqldeveloper-package sqldeveloper-18.1.0.095.1630-no-jre.zip but it is ...
1
vote
1answer
101 views

Apostrophe appearing as space

I am trying to insert the following message: friend's mobile number from a file over redhat server into sql server 2005. this message is appearing in the sql server as below: friend s mobile ...
1
vote
1answer
839 views

connect mssql database on Centos 8 using php 7.4

I cannot figure out the way to connect MSSQL 2014 database on centos 8 using PhP 7.4. I found GitHub link and downloaded CentOS8-7.4.tar and extracted the php_sqlsrv_72_ts.so and php_pdo_sqlsrv_72_ts....
1
vote
0answers
48 views

SQL SERVER (LINUX) – syspolicy_purge_history job failing step 3: Erase Phantom System Health Records

No one out there seems to have an answer for this...everything is for windows and no help for those using linux to run SQL Server 2019. Problem is that the 3rd step in this process is to run ...
1
vote
1answer
331 views

mssql-server on debian broken after update?

Time ago I installed mssql-server on my debian VPS and works fine. Now, mssql-server not run and I don't know what is changed. If type /opt/mssql/bin/sqlserver I get 2019-07-07 18:13:19.79 Logon ...
1
vote
0answers
55 views

SQL-Server for Linux WORKGROUP authentication handling

I installed SQL-Server for Linux on a linux Centos 7 distro, it works fine, but I need a workgroup authentication. It's required by the client (SAGE Ligne 100) which runs on a Windows workstation. ...
1
vote
0answers
64 views

ODBC connection from a Linux box to MS SQLServer

I need to connect to MS SQLServer from a Linux box using ODBC from a Qt application I am developing. So far I have installed the ODBC MS SQLServer driver and Kerberos on the Linux box. Using kinit I ...
1
vote
1answer
639 views

syslog-ng ignores MSSQL database name

syslog-ng ignores the database defined in syslog-ng.conf and instead uses the default database of the user when logging to MSSQL destination. destination d_mssql { sql(type(mssql) host("...
0
votes
4answers
2k views

Find a server IP on LAN from a script

I am looking for a way to have a script on a client machine automatically find the servers IP on the same network. I have several media extender clients running ubuntu 14.04.1 and a server running ...
0
votes
1answer
1k views

How to write data to a csv file with comma in string values

I need to hit a database with basic select queries and write the result output in a file. using sqlcmd I execute the queries and write the results to the output csv file. While trying to open this ...
0
votes
0answers
27 views

File and DB transfers Extremely Slow Ubuntu 16.04

I originally asked over on AskUbuntu but the topic was closed due to 16.04 no longer being supported. The mod who closed it suggested the Unix and Linux forum. We have a linux server running Ubuntu ...
0
votes
0answers
363 views

Install unixodbc-dev in ubuntu 20

I am trying to install pdo_sqlsrv in ubuntu 20.04 using https://serverpilot.io/docs/how-to-install-the-php-sqlsrv-extension/ When I try apt-get install unixodbc-dev I get: The following packages have ...
0
votes
0answers
36 views

Instaling linux server on old laptop with broken gpu

I tried to install an Ubuntu server to manage sql database for the application im building on my old laptop. I haven't used it a long time ago because the gpu is dead. Im kinda noob-ish for linux, so ...
0
votes
1answer
48 views

Resetting Debian Password without restarting at all? [duplicate]

My company has a Debian server that holds and runs some important stuff that cannot be shut down... The previous Joe before me, didn't seem to have a password logged or even passed on the information ...
0
votes
1answer
173 views

SQL Server 2019 (Centos 8) Non-Yielding Scheduler

We are running SQL Server 2019 (Linux) CU4 with the following server specs: OS: Centos 8 RAM: 32GB HDD: 1TB SSD CPU: 8 Core I-7 SQL: Microsoft SQL Server 2019 (RTM-CU4) (KB4548597) - 15.0.4033.1 (X64)...
0
votes
0answers
556 views

How to store value of sqlcmd query into variable in shell scripting

I tried to store the value of my sqlcmd query into variable and display the output. For example cwdusers=$(sqlcmd -S "mydb" -U xxx -P xxxxx -d My_DB -Q "select count(*) from user_table") echo "Total ...
0
votes
1answer
378 views

How to use * in shell scripting [duplicate]

I have table in database which stores few queries, Using sqlcmd I am trying to retrieve the queries. While doing so, the select * from abc is getting replaced with 'select from abc' How to overcome ...
0
votes
0answers
493 views

Installing OpenSSL 1.1.0

I am trying to connect to an instance of SQL Server 17 running on my Ubuntu 18.04 machine, using Azure Data Studio, and after a long session of brainstorming, I discovered that it depends upon OpenSSL ...
0
votes
3answers
2k views

Install the PHP drivers for Microsoft SQL Server

I'm using web server nginx, php 7.1 fpm and laravel in Centos 7. I want to install SQL Server following the official installation tutorial for Linux but I'm confused with this command: echo extension=...
0
votes
1answer
28 views

Is it needed for the server daemon to running so that it could be included as a dependency while building some other package?

I'm making the postfix MTA which depends on some database packages(mariadb, postgresql,...). I'm building on the instructions of Beyond Linux Form Scratch (BLFS) but I fear if it is needed for the ...
0
votes
1answer
7k views

Increase Ram Provided to docker container

I'm trying to run the docker mssql container on a Linux host. In the tutorial it is described how you should increase the RAM size allocated to the container and how you do that on Windows and Mac ...