You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error using "ON DUPLICATE KEY UPDATE" with "executemany()" #106
File "c:\Projetos\Python\simple_sql_builder\.venv\Lib\site-packages\mysql\connector\cursor.py", line 519, in executemany
stmt = self._batch_insert(operation, seq_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Projetos\Python\simple_sql_builder\.venv\Lib\site-packages\mysql\connector\cursor.py", line 465, in _batch_insert
raise ProgrammingError(
mysql.connector.errors.ProgrammingError: Not all parameters were used in the SQL statement
Activity
Ch3M4x commentedon Oct 8, 2026
Hello @AlexLanes,
Thank you for reporting this and sharing the example. We were able to reproduce the issue and will work on a fix.
We would also appreciate it if you could file a report in our MySQL bugs page which will be used to keep track of this issue.
Regards,
MySQL Team