Advertisement
andrejsstepanovs

mysql general log

Feb 19th, 2021
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.20 KB | None | 0 0
  1. mysql -uroot -ptest -e 'SET GLOBAL general_log = "ON"; SET GLOBAL general_log_file = "/var/log/mysql/all.log";'
  2.  
  3.  
  4. SET GLOBAL general_log = "ON";
  5. SET GLOBAL general_log_file = "/var/log/mysql/all.log";
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement