mysql -uroot -P4040
i install mysql-proxy using
yum install mysql-proxy
mysql-proxy-
my proxy.cnf file is
[mysql-proxy]
daemon = true
keepalive = true
pid-file=
log-file=
log-level=debug
proxy-address=
proxy-backend-
lua-path=
admin-lua-
proxy-lua-
start mysql-proxy using
mysql-proxy --defaults-
netstat -lnp | grep mysql
tcp 0 0 0.0.0.0:4041 0.0.0.0:* LISTEN 19925/mysql-proxy
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 20073/mysqld
tcp 0 0 127.0.0.1:3307 0.0.0.0:* LISTEN 19925/mysql-proxy
unix 2 [ ACC ] STREAM LISTENING 246109 20073/mysqld /var/lib/
i logged in mysql using
mysql -uroot -ptestroot -P4040
and run show querycounter, show proxy processlist..
but getting error msg
mysql> show querycounter;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'querycounter' at line 1
mysql>
Pls. help me how use mysql-proxy
Thanks in Advance
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- MySQL Proxy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Javadev
- Solved:
- Last query:
- Last reply: