how to make peewee work with MysqlProxy
my solution is:

1. make mysql connection with autocommit = true
     
     `connect_kwargs.update({'autocommit': True})`

2. no transaction sql without commit 
```

def execute_sql(self, sql, params=None, require_commit=True):
        logger.debug((sql, params))
        with self.exception_wrapper():
            cursor = self.get_cursor()
            try:
                cursor.execute(sql, params or ())
            except Exception as exc:
                if self.get_autocommit() and self.autorollback:
                    self.rollback()
                if self.sql_error_handler(exc, sql, params, require_commit):
                    raise
            else:
                pass
        return cursor
```


3. when using transaction, add begin statement

```
def begin(self):
        logging.debug("trans begin")
        self.get_conn().begin()

```

the total code is :

```
class ProxyPooledMySQLDatabase(PooledMySQLDatabase):
    def init(self, database, **connect_kwargs):
        connect_kwargs.update({'autocommit': True})
        super(ProxyPooledMySQLDatabase, self).init(database, **connect_kwargs)

    def execute_sql(self, sql, params=None, require_commit=True):
        logger.debug((sql, params))
        with self.exception_wrapper():
            cursor = self.get_cursor()
            try:
                cursor.execute(sql, params or ())
            except Exception as exc:
                if self.get_autocommit() and self.autorollback:
                    self.rollback()
                if self.sql_error_handler(exc, sql, params, require_commit):
                    raise
            else:
                pass
        return cursor

    def begin(self):
        logging.debug("trans begin")
        self.get_conn().begin()
```

what do you think about my solution ? ? ?
hello, peewee recommend 'read-slave module' ( http://docs.peewee-orm.com/en/latest/peewee/database.html?highlight=slave#read-slaves ) to do with master/slave mysql. 

atlas(https://github.com/Qihoo360/Atlas) is a mysql proxy, user write less code when use it.

and my question is 'how peewee can do with mysql proxy? ' ( such as Atlas)

