Location of the database created by Hive

I want to know where the metastore_db is created when I interact with Hive on the terminal.
Is there a place where this information can be obtained.

Hi @utkarsh_rathor,

This discussion will help you.