add more option to mysql generation