# Adding a JDBC Driver: New Connection Wizard and Add Driver

Use to specify an appropriate JDBC driver for this database when you connect to a database from within the IDE.

Element | Description
--- | ---
Driver | Enter the user name for the database.
Driver File(s) | Enter the password for the database.
Driver Class | (in the New JDBC Driver dialog box). After you choose a valid archive file, Driver Class and Name should be filled in by the IDE. Click Find if Driver Class is empty or incorrect.

The IDE will search the archive files that you selected in the previous step and find all classes that implement the JDBC API Driver interface (`java.sql.Driver`). Driver Class lists the classes that the IDE finds. Use the list to select the driver class that you need.

Notes:

- Adding a new driver only creates a template for new connections. The IDE does not actually try to use that driver or check it to ensure it is correct until a connection is made.

- You can add the driver directly at the first step when setting up a connection and skip the New Driver dialog box.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

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