adds database set and get for mysql