So I am using mysqli and when I try to perform the following query:
UPDATE Security.Users SET firstName = 'RYANTEST' WHERE id = '1'
while the Security.Users table has a lock on it, my php script just hangs forever (so far the longest I have measured is about 11 mins).
Shouldn't this return an error or at least timeout?
I have tried setting the interactive_timeout and waiting_timeout on mysql with no luck. I have also tried setting the php script to timeout after 3 seconds and again no luck (using set_time_limit() inside the script directly).
I am not sure what else I can try.