--- Hive Plug & Play started ---
No database found. Please create a 'plug_play' database in PostgreSQL.
Initial Python script could check if the database exists, if not then create it:
from stackoverflow
cursor.execute("SELECT 1 FROM pg_catalog.pg_database WHERE datname = 'python_db'")
exists = cursor.fetchone()
if not exists:
cursor.execute('CREATE DATABASE python_db')
--- Hive Plug & Play started --- No database found. Please create a 'plug_play' database in PostgreSQL.
Initial Python script could check if the database exists, if not then create it: from stackoverflow