use python sql connector
merge some changes