Added stream wrapper for MySQL