And with MySQL, you don't specify the location of the database. You specify the location of the MySQL server (machine and port) and the name of the database only.
All of this is covered in the documentation for the MySQL JDBC driver.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.