Author Rohit Gupta
Recipients Rohit Gupta
Date 2020-04-09.17:59:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586455195.03.0.155128936869.issue40242@roundup.psfhosted.org>
In-reply-to
Content
# pyzmq==19.0.0
# zmq==0.0.0
# mysql-connector-python==8.0.19

# Following code is resulting in 
# Segmentation fault (core dumped)
##################################
import zmq
import mysql.connector

database = "dev"
host = "192.168.56.1"
port = 3306
user = "user"
pwd = "user"
print(database, host, port, user, pwd)
db  = mysql.connector.connect(host=host, port=int(port), user=user, password=pwd, database=database, autocommit=False)
cur = db.cursor()
print("Connected")
History
Date User Action Args
2020-04-09 17:59:55Rohit Guptasetrecipients: + Rohit Gupta
2020-04-09 17:59:55Rohit Guptasetmessageid: <1586455195.03.0.155128936869.issue40242@roundup.psfhosted.org>
2020-04-09 17:59:55Rohit Guptalinkissue40242 messages
2020-04-09 17:59:54Rohit Guptacreate