Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

admin-username error of proxy

I tried to install proxy on development machine and I got the following error.

/etc/init.d/mysql-proxyd start
Starting mysql-proxy: 2011-02-26 15:51:45: (critical) admin-plugin.c:569: --admin-username needs to be set
2011-02-26 15:51:45: (critical) mainloop.c:267: applying config of plugin admin failed
2011-02-26 15:51:45: (critical) mysql-proxy-cli.c:596: Failure from chassis_mainloop. Shutting down.
[  OK  ]

Since this is only a test machine, I do not want the security feature of proxy. How do I avoid the above error?

like image 428
shantanuo Avatar asked Feb 26 '11 10:02

shantanuo


1 Answers

Either upgrade your version of mysql-proxy to 0.8.2 or greater or explicitly specify that you don't need the admin plugin by using mysql-proxy --plugins=proxy

like image 200
Appleman1234 Avatar answered Oct 02 '22 01:10

Appleman1234