upgrade db1065 to trusty and mariadb 10

Change-Id: I74ded4dd6dd4cbe70e2b4994332ed7f0f5c88958