php - Use perstistant sql_safe_updates by default in phpMyAdmin -


since work lot pma on production servers, how enforce , persist sql_safe_updates mode each mysql query run avoid big-wipe-out effect? setting manually each query troublesome , error prone.

set sql_safe_updates=1; sql query;  set sql_safe_updates=0; 

by persisting it, mean let setting survive across client sessions , after restarting server. multiple reasons cannot set globally in database.

i have found similar question @ mysql - enabling safe updates everyone not looking for.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -