depool db1040 for upgrade, conversion to mariadb

Change-Id: Iea1ca81009fd0c981d8544ffe5825a1d779985c8