I use a slow.log logging on my MySQL server, to catch bottlenecks in my script, but at the same time, i use phpmyadmin on this server. My script and pma has different MySQL user accounts and now, when i analyzing the slow.log file, i see a lot of spam from pma queries, is it possible, to configure the MySQL to logging a slow queries only from specific users?
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
You can try to analyse your slow log with the Percona tool pt-query-digest and use the option :