title: Is MySQL "thread safe" from a php script?
body: <p>If I have a php script which calls INSERT, UPDATE, DELETE, etc on a MySQL connection, and that script gets called at uncontrolled times by a POST operation, is it always "safe" (ie, will not result in corrupt tables or collisions during requests)?</p>
  
  <p>For example, if 500 requests come during a 1-second period.</p>
  
  <p>If so, how does php/mysql achieve this?</p>
  
  <p>If not, what does one need to do to guarantee "serial" access or safe simultaneous access?</p>