← Back to team overview

mysql-proxy-discuss team mailing list archive

Re: Looking for feedback - Short options for MySQL Proxy

 

Hi Everyone,

>
> I second this, strongly. And I even wrote an article on how to use MySQL
> Proxy's  configuration file (key-value file) at:
> http://blog.zhuzhaoyuan.com/2009/02/using-mysql-proxys-configuration-file/
>

Thanks for blogging about it! and I also agree that using
configuration files is much cleaner.

>> In reality, most of the options that we care about are from the proxy
>> plugin, so we should probably start assigning short options to that, while
>> keeping in mind the list Jan assembled below.
>
> +1

In that case we only need to  find a one letter option for

Most used options:

-P   --proxy-address=<host:port>
-r  --proxy-read-only-backend-addresses=<host:port>
-b   --proxy-backend-addresses=<host:port>
-s  --proxy-lua-script=<file>

And maybe we do not need to define short options for these:
  --proxy-skip-profiling
  --proxy-fix-bug-25371
  --no-proxy
  --proxy-pool-no-change-user


Thanks!

Diego

> Cheers,
>
> --
> Joshua Zhu
> http://blog.zhuzhaoyuan.com
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mysql-proxy-discuss
> Post to     : mysql-proxy-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mysql-proxy-discuss
> More help   : https://help.launchpad.net/ListHelp
>
>



-- 
Diego Medina
Web Developer
http://www.fmpwizard.com



Follow ups

References