Hello. When you created this database a user with ADMIN rights were created using the user name and password that were specified to create a first connection. You need to use its user name and password to connect to the database.
After it you can either execute this script under that account or give ADMIN privileges to your current user using ALTER USER userName ADMIN TRUE https://h2database.com/html/commands.html#alter_user_admin If you lost the credentials of your initial ADMIN user you can't do anything from the SQL. You need to use the recovery tool. https://h2database.com/html/advanced.html#using_recover_tool -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/f3eb42b0-bbbc-46b7-9fec-8624dd877210%40googlegroups.com.