How to fix?: mysql> show variables like 'plugin_dir'; Does not show plugin_dir location

libmemcache, libmemcached, memcached, mysql, redhat

Solution

Check your my.cnf

[mysqld]
plugin_dir=/path/to/plugin/directory

Problem

After this post I continued to try to setup MySQL memcached User-Defined Functions as per these instructions: http://stanley-huang.blogspot.com/2010/04/level-3-install-memcached-user-defined.html But now when trying to find the plugin_dir location I get: ``` mysql> show variables like 'plugin_dir'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | plugin_dir | | +---------------+-------+ 1 row in set (0.00 sec) ``` It's blank. What did I miss? Thanks

Original source