# Creating a connection without specifying attributes

If no attributes are specified, you must specify a databaseName.

Derby opens a connection to an existing database with that name in the current system directory. If the database does not exist, the connection attempt returns an SQLException indicating that the database cannot be found.

## Example

    jdbc:derby:mydb

Parent topic: Setting attributes for the database connection URL