Mysql Python Connector: "not All Arguments Converted During Bytes Formatting"
I have a mysql database in which 'user' table having f_name,l_name,password email(pk) by which session is created and table 'friendgroup' having fg_name(pk), email((pk),users.email
Solution 1:
A common error in python is to use (bar)
instead of (bar,)
the former not being a tuple.
Try with:
cursor.execute(find_owned_friendgroups, (user,))
Post a Comment for "Mysql Python Connector: "not All Arguments Converted During Bytes Formatting""