To use SQL Visualize with a local SQL Server Express or any instance using Windows Authentication by default, you must perform these one-time configuration steps.
SQL Visualize uses a standalone Node.js driver which requires a SQL login.
- Open SQL Server Management Studio (SSMS).
- Right-click your Server -> Properties -> Security.
- Select SQL Server and Windows Authentication mode.
- Restart the SQL Server service.
The standalone driver communicates via TCP/IP, which is disabled by default in SQL Express.
- Open SQL Server Configuration Manager.
- Go to SQL Server Network Configuration -> Protocols for SQLEXPRESS.
- Right-click TCP/IP and select Enable.
- Under SQL Server Services, right-click SQL Server (SQLEXPRESS) and select Restart.
This allows the driver to resolve named instances (like \SQLEXPRESS).
- In SQL Server Configuration Manager, go to SQL Server Services.
- Right-click SQL Server Browser -> Properties.
- In the Service tab, change Start Mode to Automatic.
- Click OK, then right-click the service and select Start.
- In SSMS, go to Security -> Logins.
- Right-click -> New Login.
- Choose SQL Server authentication, set a password, and uncheck "Enforce password expiration".
- Under Server Roles, check sysadmin (or ensure the user has
CONNECTandSELECTpermissions on system catalogs).
Server=YOUR_COMPUTER_NAME\SQLEXPRESS;Database=master;User Id=your_user;Password=your_password;Encrypt=True;TrustServerCertificate=True;
Tip
Always include TrustServerCertificate=True for local development to avoid SSL/TLS handshake errors with self-signed certificates.