there can be more than one database installed on the machine.
generally, you are able to see the environment variable exported in your env.
e.g for oracle
for sybase
etc etc..
you can also use find utility to search for any database utility
like.. sqlplus, isql, mysql, tsql, bcp .....