How to add new user in Azure Data Studio Ubuntu 22.04? - sql-server

I use Azure Data Studio:
Version: 1.39.1
Commit: 7553f799e175f471b7590302dd65c997b838b29b
Date: 2022-08-30T00:59:13.108Z
VS Code: 1.62.0
Electron: 13.6.6
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.15.0-56-generic
From documentation:
Open Object Explorer.
Click Server_instance_name > Security > Logins.
Right-click Logins and select New Login.
But I see just refresh option.
Where am I wrong and what should I do?

Related

Connecting to MSSQLServer 2019 on Windows11 from Apple macOS BigSur using VS for Mac 2022 v17.4

I have an apple desktop computer with Visual Studio for Mac 2022 version 17.4 and wanted to connect to a MS SQL Server database on a windows 11 computer. However, I am able to connect to the windows 11 computer from the Mac and use the shared folders. I have installed the Microsoft odbc drivers, also JDBC drivers. I installed DBeaver and tried but to no avail and lastly installed DBVisualizer which I was able to ping the sql server but still not able to connect. I am getting SQL Server browser not started. But I have verified it on the windows 11 computer that is starts automatically. I have also make sure it is allowed through the windows firewall. Below is the AppSettings.json file.
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"DefaultConnection": "ServerName=I-AM-I\\SQLEXPRESS;Initial Catalog=Anglophone;User Id=sa;Password=password;"
},
"AllowedHosts": "*"
}
I thought I was going to get the same result as on windows. I have tried installing Microsoft ODBC and followed the instructions using home-brew. I tried JDBC, DBeaver and finally DbVisualizer. When I use the iODBC administrator I get the following error: 08003 odbc driver connection not open.
When I use the DbVisualizer, I get the following error:
Product: DbVisualizer Free 14.0.1 (build: 3540)
OS: Mac OS X
OS Version: 11.7.1
OS Arch: x86_64
Java Version: 17.0.4.1
Java VM: OpenJDK 64-Bit Server VM
Java Vendor: Eclipse Adoptium
Java Home: /Applications/DbVisualizer.app/Contents/Resources/jre.bundle/Contents/Home
DbVis Home: /Applications/DbVisualizer.app/Contents/Resources/app
User Home: /Users/bainn
PrefsDir: /Users/bainn/.dbvis
SessionId: 131
BindDir: null
An error occurred while establishing the connection:
Long Message:
Cannot open database "AnglophoneLawReports" requested by the login. The login failed. ClientConnectionId:8f9f7741-c0cc-44ff-b1a9-0f8f079c000f
Details:
   Type: com.microsoft.sqlserver.jdbc.SQLServerException
   Error Code: 4060
   SQL State: S0001
I am just hoping to get a simple AppSettings.json connection string format that could connect to SQL server on windows 11. The ability to connect to sql server on windows 11 without installing any container on the mac.
Thank you

Difference between the SQL Server Docker Images?

I see the following docker images are available for SQL Server:
mssql-server-linux/mssql-server-linux
mcr.microsoft.com/mssql/server:2019-CU4-ubuntu-18.04
What is the difference between these two?
mssql-server-linux/mssql-server-linux is the old deprecated docker image.
mcr.microsoft.com/mssql/server:2019-CU4-ubuntu-18.04 is the Ubuntu 18.04 based Docker image for SQL Server 2019, and includes CU4; the latest version is CU6. See the official Microsoft Docker page here: Microsoft SQL Server - Docker

Selenium - When browser Driver version will get released

When can we get the selenium driver versions after the browser upgrade.
For Chrome driver I got info(https://chromedriver.chromium.org/downloads/version-selection) - Before a new major version of Chrome goes to Beta, a matching version of ChromeDriver will be released.
For other browsers(Firefox,Edge,IE..) when can we get the updated driver versions when the browser is upgraded.
I'm not able to find clear information other than chrome.
For the IE browser, you can download the IE driver server from the link below.
Download Internet Explorer Driver Server
For the MS Edge legacy browser prior to version 18, you can download the web driver from the link below.
Download Microsoft Edge Legacy web driver
If you want to download the web driver for the MS Edge legacy browser >= version 18, you can refer steps below.
Microsoft WebDriver for Microsoft Edge version 18 is a Windows Feature on Demand.
To install run the following in an elevated command prompt:
DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0
For the MS Edge (Chromium) browser, You can download the latest version of the web driver from the link below.
Download MS Edge (Chromium) web driver
You can refer to the link below to view the full version directory from starting to the latest version of web driver for MS Edge (Chromium) browser.
Full version directory

Cannot succesfully install TimescaleDB on Postgres 10 (Windows Server 2016)

I am having trouble getting TimescaleDB to work on my windows server 2016 machine with Postgres 10.
I open up a fresh windows server 2016 instance with AWS and I install Postgres using the windows GUI installer. (C:\Postgres).
The installer automatically updates the path to include the bin directory (C:\PostgreSQL\pg10\bin).
I stop postgres.
I run the TimescaleDB windows installer file and it says it's successfully completed.
I update the conf file. (shared_preload_libraries = 'timescaledb').
I restart my computer and start postgres, but postgres never sucessfully starts. The windows event yells at me, saying I 2018-03-29 17:01:35 UTC [952]: [1-1] user=,db=,app=,client= FATAL: could not load library "C:/POSTGR~1/pg10/../pg10/lib/postgresql/timescaledb.dll": The specified module could not be found.
Any idea whats going on?
This may be related to https://github.com/timescale/timescaledb/issues/485#issuecomment-377533298 which is caused by a missing dependency, Visual C++ Redistributable for Visual Studio 2015.

SQL Server Storage Plugin not Working

I am trying to get the SQL Server Plugin working in Apache Drill as outlined here but it seems to be throwing the following error:
error (unable to create/update storage)
My storage config looks like this:
{
type: "jdbc",
enabled: true,
driver: "com.microsoft.sqlserver.jdbc.SQLServerDriver",
url:"jdbc:sqlserver://10.60.68.145;databaseName=Demo",
username:"ApacheDrill",
password:"Passw0rd"
}
I have tried copying both sqljdbc41.jar (from sqljdbc_4.1.5605.100_enu.tar.gz) and sqljdbc42.jar (from sqljdbc_4.2.6420.100_enu.tar.gz) to the drill directory \apache-drill-1.4.0\jars\3rdparty\ but it doesn't seem to make a difference.
The environment details are:
Operating System: Microsoft Windows 8.1 Pro, SQL Server Version: 11.0.3000 and Apache Drill Version: 1.4.0.

Resources