Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 205 Bytes
#!/usr/bin/env ruby
puts "change config to 127.0.0.1:4040"
Process.fork do
system "mysql-proxy --proxy-lua-script=mysqllog.lua"
end
logfile = "mysql.log"
`touch #{logfile}`
system "tail -f #{logfile}"
Jump to Line
Something went wrong with that request. Please try again.