# Help with MySQL Handler socket

**URL:** <https://forums.percona.com/t/help-with-mysql-handler-socket/2414>\
**Category:** Other Tools\
**Created:** [May 24, 2011, 2:05am UTC](https://forums.percona.com/t/help-with-mysql-handler-socket/2414 "2011-05-24T02:05:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srinivasan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@srinivasan](https://forums.percona.com/u/srinivasan)\
**Post date:** [May 24, 2011, 2:05am UTC](https://forums.percona.com/t/help-with-mysql-handler-socket/2414/1 "2011-05-24T02:05:46Z")

</div>

Hi,

I am trying out MySQL HandlerSocket.

I believe we can go execute\_multi() with handlersocket’s perl APIs to  
speed up multiple queries instead of using execute\_single(). I have  
tried this and it works for me in perl.

But how this can be done using C++ APIs. There is any specific options  
available with request\_buf\_exec\_generic() call.

Thanks,  
Srinivasan
