You can either specify them separately and use the automatically generated URL, or you can enter the URL directly in the corresponding field.Ĭheck if there is a Download missing driver files link at the bottom of the connection settings area. Read more about the DNS seedlist connection format in DNS Seedlist Connection Format at .į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. MongoDB Atlas (SRV protocol): DNS seedlist connection format (for example, mongodb+srv:///). Read more about standard connection string format in Standard Connection String Format at. In the Driver list, leave the default driver option, unless another driver is required for your connection.įrom the Connection type list, select the connection type depending on the connection details that you have:ĭefault: standard connection string format (for example, mongodb://localhost:27021/admin). In the General tab of Data Sources and Drivers dialog right pane, specify the driver and connection type. Navigate to Data Source and select MongoDB. In the Database Explorer ( View | Tool Windows | Database Explorer), click the New icon ( ) in the toolbar. You can do this using one of the following ways:įrom the main menu, navigate to File | New | Data Source and select MongoDB. To connect to the database, create a data source that will store your connection details. 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. 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 MongoDB database in DataGrip, and run a test connection. To download MongoDB database software, refer to the official software downloads. Official documentation and softwareįor full information about MongoDB, refer to the official documentation. Only after that you will see the DataGrip interface and will be able to create connections. You need to create and open a project from the Welcome Screen.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |