(critical) admin-plugin.c:569: --admin-username needs to be set

Asked by Sagar Chalise on 2011-12-22

I installed mysql-proxy from repositories in ubuntu 11.10 but cannot run it ? I get the following

2011-12-22 16:28:14: (critical) admin-plugin.c:569: --admin-username needs to be set
2011-12-22 16:28:14: (critical) mainloop.c:267: applying config of plugin admin failed
2011-12-22 16:28:14: (critical) mysql-proxy-cli.c:596: Failure from chassis_mainloop. Shutting down.

I want to test in my local install but I cannot run mysql-proxy.[i.e proxy and server running on same machine if possible] Can anyone help me ?

Thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
MySQL Proxy Edit question
Assignee:
No assignee Edit question
Last query:
2011-12-22
Last reply:
2011-12-29
Jan Kneschke (jan-kneschke) said : #1

Am 22.12.2011 um 11:50 schrieb Sagar Chalise:

> New question #182637 on MySQL Proxy:
> https://answers.launchpad.net/mysql-proxy/+question/182637
>
> I installed mysql-proxy from repositories in ubuntu 11.10 but cannot run it ? I get the following
>
> 2011-12-22 16:28:14: (critical) admin-plugin.c:569: --admin-username needs to be set
> 2011-12-22 16:28:14: (critical) mainloop.c:267: applying config of plugin admin failed
> 2011-12-22 16:28:14: (critical) mysql-proxy-cli.c:596: Failure from chassis_mainloop. Shutting down.

This is fixed in 0.8.2. Either upgrade or as workaround add:

  $ mysql-proxy --plugins=proxy

if you don't need the admin plugin.

If you need the admin plugin, set a username with --admin-username (or admin-username=... in the configfile).

regards and a happy new year,
  Jan

Can you help with this problem?

Provide an answer of your own, or ask Sagar Chalise for more information if necessary.

To post a message you must log in.