# New Connection Wizard: Customize Connection Dialog

Use to supply the details to create a new database connection.

You open this dialog box by doing one of the following:

- Right-click the Databases node in the Services window and choose New Connection. Specify the driver and click Next.
- Right-click a driver node under the Databases node in the Services window and choose Connect Using.
- Clicking Add Connection in the Resolve Data Sources dialog box.

Supply the details needed to connect to a specific database. Depending on the database driver you are using, you need to supply some or all of the following database connection properties.

Element | Description
--- | ---
Driver Name | Confirm that the JDBC driver you want to use is the correct one for your database. This drop-down list only contains drivers registered with the IDE. If your driver is not listed, you need to add the JDBC driver at the previous step of the New Connection wizard.
Host | Enter the hostname for the database. Use `localhost` if the database is located on a local machine.
Port | Enter the port to be used by the database connection. Refer to the database documentation to know the default port number for your database.
Database or Service ID | Enter the name of the database instance.
User Name | Enter the password for the database.
Remember Password | Select to have the IDE remember your password. If selected, you will not be prompted for the user name and password on subsequent connections to the database and the Remember Password property is set to `True`. To set the Remember Password property to `False`, right-click the database connection node in the Services window and choose Properties and modify the property in the Properties window (only when the connection is in the disconnected state).
JDBC URL | Displays the JDBC URL for this connection.

If the database to which you want to connect contains database schemas, you can click Next and select a schema in the Choose Database Schemas page.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.