Bug #95355 | mysql-connector-python returns False as None | ||
---|---|---|---|
Submitted: | 13 May 2019 12:48 | Modified: | 3 May 2022 18:15 |
Reporter: | j p | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / Python | Severity: | S2 (Serious) |
Version: | 8.0.16 | OS: | Ubuntu (Ubuntu 18 LTS) |
Assigned to: | CPU Architecture: | x86 |
[13 May 2019 12:48]
j p
[13 May 2019 12:52]
j p
Sorry, test script is not correct. To reproduce error you should install a minimal django start project with the database configuration as specified and try to change a user's password to trigger the error.
[12 Jun 2019 8:03]
MySQL Verification Team
Hello! Thank you for the report. regards, Umesh
[3 May 2022 18:15]
Javier TreviƱo
The cursor.execute() executes the statement and doesn't return a value. To fetch the result using cursors, the cursor.fetchone() or cursor.fetchall() should be called instead.