This dialog box enables you to supply the details to create a new database connection. You open this dialog box by doing the following:
When you create a database connection, you supply the details needed to connect to a specific database. You need to supply the following database connection details.
This URL typically begins with jdbc:and a short code name for the driver, followed by another colon. The rest of the URL depends on the type of driver you are using. For example, you might need to specify a host and port; alternatively, the name of a database file might suffice, or an ODBC DSN. For MySQL, the Database URL might look as follows:
jdbc:mysql://localhost:3306/mydatabaseTo help you get started, the IDE provides templates for the correct URL format for the most common drivers. If in doubt, refer to the documentation for the driver that you are using.
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.
For more about securing database passwords, see the following NetBeans FAQ: