Adde database lib.
Got error to print and I got the sql lib to link which solved most database issues. However, there is out of memory issue upon getting the first instance of the database.