Commit 43ff94b9 by 岳巧源

release script

parent cb439d2a
Showing with 18 additions and 0 deletions
import mysql.connector
def main():
db = mysql.connector.connect(
host="master.db2.liexindev.me",
user="liexin_crmv2",
password="liexin_crmv2#zsyM",
database="liexin_crmv2"
)
cursor = db.cursor()
cursor.execute("select * from lie_company where com_category in (0, 1)")
result = cursor.fetchall()
for row in result:
pass
if __name__ == '__main__':
main()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment