Simplified stream interface for mariaDB