Add error messages for socket failures for all mysql_ modules. Changed my intial mode = to socketmode = since mode is used in mysql_replication for something else