Initialize the database.
INPUT: read_only -- bool (default: True), if True, then the database is read_only and changes cannot be commited to disk.