I am very new to SQL and database servers. I have recently been using SQL Server Express and accessing my database using SQL Server Management Studio on Windows. I am now trying to achieve a similar setup on a Linux machine.
I would like to create a local SQL Server instance on the machine, and then use SQLectron as a GUI client for querying my database. I am using Manjaro Linux and so install my packages from the AUR.
So far I have installed mssql-server
, mssql-tools
and sqlectron-gui
. I have run the sudo /opt/mssql/bin/mssql-conf setup
command in order to (I believe) set up a local server. After doing so, running the command systemctl status mssql-server
returns this:
[kev@XPS-Manjaro ~]$ systemctl status mssql-server ● mssql-server.service - Microsoft SQL Server Database Engine Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2017-08-23 13:43:49 IST; 2h 42min ago Docs: https://learn.microsoft.com/en-us/sql/linux Main PID: 9130 (sqlservr) Tasks: 165 CGroup: /system.slice/mssql-server.service ├─9130 /opt/mssql/bin/sqlservr └─9144 /opt/mssql/bin/sqlservr Aug 23 13:43:52 XPS-Manjaro sqlservr[9130]: [145B blob data] Aug 23 13:43:52 XPS-Manjaro sqlservr[9130]: [66B blob data] Aug 23 13:43:52 XPS-Manjaro sqlservr[9130]: [96B blob data] Aug 23 13:43:52 XPS-Manjaro sqlservr[9130]: [100B blob data] Aug 23 13:43:52 XPS-Manjaro sqlservr[9130]: [71B blob data] Aug 23 13:43:52 XPS-Manjaro sqlservr[9130]: [124B blob data] Aug 23 13:49:03 XPS-Manjaro sqlservr[9130]: [156B blob data] Aug 23 13:49:03 XPS-Manjaro sqlservr[9130]: [194B blob data] Aug 23 13:52:31 XPS-Manjaro sqlservr[9130]: [74B blob data] Aug 23 13:52:31 XPS-Manjaro sqlservr[9130]: [199B blob data]
I am now attempting to create a local connection to my server through SQLectron on the following screen:
As I have very little experience with SQL Servers, I am completely lost with where to get all of these credentials to connect to my local server. The only one I know of is the password which I set in the sudo /opt/mssql/bin/mssql-conf setup
command.
How do I find the server name, host address (127.0.0.1?), port, domain, Unix socket path and username?