Microsoft SQL Server
Please note that the guides below require SQL Server Management Studio (SSMS) and have been tested with SSMS v19.1.56.0 and SQL Server 2022 (RTM-CU8, KB5029666, v16.0.4075.1, X64).
How to enable sa
user
In SQL Management Studio:
security
>logins
>sa
> [double click to open properties]general
>password
> [set a password]status
>login
> [set toEnabled
][ok]
How to enable TCP-IP login
In SQL Server Configuration Manager:
SQL Server Network Configuration
>Protocols for SQLEXPRESS
> [double click TCP/IP]Protocol
> [Enabled
YES]IP Addresses
>IP1
,IP10
,etc > [Active
YES,Enabled
YES,TCP Port
1433][ok]
How to enable mixed auth
Execute query in SQL Management Studio:
SQL | |
---|---|
How to enable browser service
In services.msc
:
- set SQLBrowser service startup to
Automatic
- start SQLBrowser service
How to enable login for other apps
This is a quick guide on how to allow other database management tools (eg. DBeaver) to connect to your locally installed SQL Server instance.
- enable/create a sql server user (eg.
sa
) (see dedicated section) - enable mixed auth (see dedicated section)
- enable tcp-ip login (see dedicated section)
- enable browser service (see dedicated section)
- stop and start SQL Server and SQL Server Browser services
- connect with these credentials
Please note: server name 127.0.0.1\SQLEXPRESS
should be what you see in SQL Server Management Studio's object explorer and will probably vary depending on the server version.