new mysql function

Signed-off-by: you <ylcaa@foxmail.com>