I'm trying to turn off mysql query cache on my local mac dev machine.
I've tried via the CL:
SELECT sql_no_cache;
RESET query cache;
SET SESSION query_cache_type = OFF;
and also in the config:
query-cache-type = 0
I installed it via macports. There are about 10 my.cnf files so maybe I'm not even editing the correct on?
/private/etc/my.cnf
/Users/dj/Downloads/mysql-5.1.41-osx10.5-x86_64/mysql-test/suite/federated/my.cnf
/Users/dj/Downloads/mysql-5.1.41-osx10.5-x86_64/mysql-test/suite/ndb/my.cnf
/Users/dj/Downloads/mysql-5.1.41-osx10.5-x86_64/mysql-test/suite/rpl/my.cnf
etc ...
I would think the command line stuff should work though.
I think I've tried everything I've found online to no avail. Really appreciate any help. Thanks!