Each and every SQL query I issue to my MySQL server creates a new (increments) CONNECTION_ID(). This happens both on my local as well as on my shared remote server.
Is this the reason behind LAST_INSERT_ID() and ROW_COUNT() resulting in 0? How to address this issue?
Originally in MySQL: LAST_INSERT_ID() returns 0