Hi,
Giorgio Zarrelli wrote:
Hi,
I saw that to enable server/client protocol compression I can start mysql with
the "-C" option.
Is there a configuration keyword to write in my.cnf to enable server/client
protocol compression?
Yes. In general, most command-line options can be written into the options files (and
dashes and underscores are interchangeable by the way, so you will see people referring
to both option-name=val and option_name=val). For example, if I add a line
compress
to the [mysql] section in /home/baron/.my.cnf, and then connect and type 'status', I
see a line in the output that says
Protocol: Compressed
That line is not there unless compression is enabled. I could add the same option to
various sections in /etc/my.cnf as well; probably the best place to put it is in the
[client] section.
Cheers
Baron
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]