created get_dbinfo()