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

javascript - Replicate keyboard event with html button -

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

Ansible warning on jinja2 braces on when -