Squashed commit of the following:

Initial upload mariadb support.