Hayden
Hayden

Reputation: 361

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

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

Upvotes: 3

Views: 6156

Answers (2)

Mohammad Gabr
Mohammad Gabr

Reputation: 1

I think you might be looking for this:

select @@plugin_dir;

Upvotes: 0

mattl
mattl

Reputation: 549

Check your my.cnf

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

Upvotes: 3

Related Questions