Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install semi synchronous replication in my mysql 5.5 and trying to execute the below command:

INSTALL PLUGIN 'rpl_semi_sync_master' SONAME '' 

but this command is throwing the below error:

Error Code: 1064. You have an error in your SQL syntax; check the manual that 
corresponds to your MySQL server version for the right syntax to use near 
''rpl_semi_sync_master' SONAME ''' at line 1 

Please help regarding this. We are using Win7 Professional SP1 32-bit OS.

Thank You

share|improve this question
.so is a Unix shared library. You're using Windows? – Phil Mar 1 '13 at 12:26

I think the problem with your attempt is that you put quotes around the plugin name, along with the fact that you used a .so suffix to the library name.


Check that your MySQL install is dynamic_loading capable:

mysql> show variables like '%dynamic%';
| Variable_name        | Value |
| have_dynamic_loading | YES   |
1 row in set (0.00 sec)


Check that your plugin directory is set correctly:

mysql> show variables like '%plugin%';
| Variable_name | Value                                               |
| plugin_dir    | C:\Program Files\MySQL\MySQL Server 5.6\lib\plugin\ |
1 row in set (0.00 sec)


Then verify the .dll exists in that location:

explorer window, showing the .DLL

The plugin install should then work OK:

mysql> INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.dll';
Query OK, 0 rows affected (0.01 sec)

share|improve this answer
I dread MySQL for Windows. +1 for your tolerance. – RolandoMySQLDBA Mar 1 '13 at 16:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.