Web Hosting Talk







View Full Version : Does any One know how to enable catching for mySQL 4.x


randytsa
10-29-2003, 11:53 AM
I would like to enable catching for mySQL
But don't know How?

Does any body can tell me how or where can I get the instruction
about this ?

GameraFan
10-29-2003, 12:22 PM
Add the following lines to [mysqld] section of your my.cnf:

query_cache_type = 1
query_cache_limit = 1M
query_cache_size = 16M

phpdeveloper
10-29-2003, 01:04 PM
More info can be found here:
http://www.mysql.com/doc/en/Query_Cache.html

GameraFan
10-29-2003, 01:08 PM
Thanks. I tried to post the mysql.com link but I got an error message.