Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

mysql query logging/replay through mysql proxy

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 mysqllog.lua
Octocat-spinner-32 record
Octocat-spinner-32 replay
README.markdown

This is made to work alongside of a Rails application

  • git clone git://github.com/grosser/mysql_proxy_logging.git
  • cd mysql_proxy_logging
  • sudo apt-get install mysql-proxy
  • database.yml: change port to 4040, host to 127.0.0.1
  • ./record
  • database.yml: change back port/host
  • ./replay logfile path_to_rails_root times sleep_between_runs (e.g. replay mysql.log /srv/my_app/current 20 0.1)
Something went wrong with that request. Please try again.