Updated install_db.cpp to use try_query() function to run all of the querries.