new mysql plugin structure