python call a stored procedure failed return error 1787

(1787, 'When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, the statements CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can be executed in a non-transactional context only, and require that AUTOCOMMIT = 1.')

  python call a stored procedure fails, the solution:

Add during storage: SET = the autocommit @@. 1;    can be solved

Guess you like

Origin www.cnblogs.com/zhangshengxiang/p/10947746.html