MySQL-Proxy and histogram.lua
hey guys,
I'm trying to use mysql-proxy to collect query information using the histogram.lua script. I got mysql-proxy started with "/opt/mysql-proxy-0.6.1/bin/mysql-proxy --pid-file=/opt/mysql-proxy-0.6.1/mysql-proxy.pid --admin-address=127.0.0.1:4041 --proxy-address=127.0.0.1:4040 --proxy-backend-addresses=192.168.2.71:3306 --proxy-lua-script=/opt/mysql-proxy-0.6.1/examples/histogram.lua" . Connecting to the mysql via the proxy works fine, but when I try some thing like "select * from histogram.queries" it gives out an error "ERROR 1142 (42000): SELECT command denied to user 'root'@'db2' for table 'queries'" like it is passing through instead of being treated by the lua script... how do I get the histogram info to work fine ?
Subject
Views
Written By
Posted
MySQL-Proxy and histogram.lua
4764
April 21, 2008 12:58PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.