arproxy-plugin-mysql_casual_log

Plug-in that colorize the bad query for Arproxy.

MIT License

Downloads
3.7K
Stars
4
Committers
2

Arproxy::Plugin::MysqlCasualLog

Plug-in that colorize MySQL bad query for Arproxy. It is porting of MySQLCasualLog.pm.

see http://kamipo.github.io/talks/20140711-mysqlcasual6

Installation

Add this line to your application's Gemfile:

gem 'arproxy-plugin-mysql_casual_log'

And then execute:

$ bundle

Or install it yourself as:

$ gem install arproxy-plugin-mysql_casual_log

Usage

Arproxy.configure do |config|
   config.adapter = "mysql2"
   config.plugin :mysql_casual_log
end
Arproxy.enable!