How do I check if a database exists in java?
Example:
If you have one, create a new one.
Use this code below:
CREATE DATABASE IF NOT EXISTS nomedobanco;