Generate a database password if input is missing.
Generate a database password if input is missing.