Using DB2 as a database You must be logged in into the operating system as DB2 administrator when you create the database, typically as db2admin.