![server address license webstorm server address license webstorm](https://edeleastar-portfolio.github.io/node-web-app-dev/topic-02-js-review/book-1-javascript-intro/img/webstorm/05.png)
In the Host field, type your server address. Alternatively, paste the JDBC URL in the URL field. You can either specify them separately and use the automatically generated URL, or you can enter the URL directly in the corresponding field. In the General tab of Data Sources and Drivers dialog right pane, specify the driver and connection type.įrom the Driver list, select the JDBC driver for your connection.įor Microsoft SQL Server, the supported drivers are Microsoft SQL Server and Microsoft SQL Server (jTds).įrom the Connection type list, select the connection type depending on the connection details that you have:ĭefault: connect by using Host, Port, Database, and URL.įor the URL only connection type, the JDBC URL that you enter is used as is.įor the other connection types, the JDBC URL is broken down into connection details. If there is no Download missing driver files link, then you already have the required drivers. For more information about connecting to a database with your driver, refer to Add a user driver to an existing connection. You can also use your drivers for the database instead of the provided ones. Location for the downloaded JDBC drivers is the WebStorm configuration directory. For a direct download link, refer to the JetBrains JDBC drivers page. Click this link to download drivers that are required to interact with a database. Navigate to Data Source and select Microsoft SQL Server.Ĭheck if there is a Download missing driver files link at the bottom of the connection settings area. In the Database tool window ( View | Tool Windows | Database), click the New icon ( ) in the toolbar. In the main menu, go to File | New | Data Source and select Microsoft SQL Server. You can do this using one of the following ways:
![server address license webstorm server address license webstorm](https://www.papercut.com/support/resources/manuals/ng-mf/common/screen/server-address.png)
To connect to the database, create a data source that will store your connection details. Connect to a Microsoft SQL Server database For most situations, the restart resolves connection problems.
![server address license webstorm server address license webstorm](https://images2018.cnblogs.com/blog/158914/201806/158914-20180604121945577-905369524.png)
If you changed any settings, restart the server. Name of the Microsoft SQL Server instance is MSSQLSERVER.
![server address license webstorm server address license webstorm](https://ecostruxure-building-help.se.com/graphics/en-US/graphics122755.png)
Verify that other running applications do not use the same port. Enable and configure the TCP/IP connectionįollow the official instructions to enable the protocol, check and assign a port number. If the SQL Server Browser is turned on, TCP/IP connection can also be established using the Microsoft SQL Server instance name. When connecting via port, make sure that the port that you use is not closed by the Firewall. By default, it is port 1433 and it is closed by the Microsoft Windows Firewall. Microsoft SQL Server accepts TCP/IP connections on a dedicated port. For example, if you want to run a database on your machine and connect to that database, the corresponding DBMS software must be installed on the machine first.įor more information about configuring Microsoft SQL Server, Windows domain authentication, and user permissions, refer to How to connect to MS SQL server in the WebStorm documentation.įor more information about connecting to LocalDB, refer to How to connect to SQL Server Express LocalDB in the DataGrip documentation. It is assumed that you already have the necessary prerequisites and the database is up and running. This topic presents a general procedure on how you can create a data source for the connection to your Microsoft SQL Server database in WebStorm, and run a test connection. To download Microsoft SQL Server database software, refer to the official software downloads. For full information about Microsoft SQL Server, refer to the official documentation.