Before the database input component can be used, you need to create a database and also create a user that can connect to the database. InterFormNG can create the necessary tables for you, or you can create them yourself.
The user that you use to connect with, needs the following grants as a minimum: SELECT, INSERT, UPDATE.
If you want InterFormNG to create the tables on the database, then the user also needs the following grants: create table, alter table, create foreign key constraint, create index. The exact names of these are different depending on what database you use, On MySQL it would be CREATE, ALTER, REFERENCES, INDEX. These grants should be removed from the user once the tables have been successfully created.