# Packetbeat & Mysql bug

**URL:** <https://discuss.elastic.co/t/packetbeat-mysql-bug/107682>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [November 15, 2017, 7:42am UTC](https://discuss.elastic.co/t/packetbeat-mysql-bug/107682 "2017-11-15T07:42:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yi\_Ge](https://avatars.discourse-cdn.com/v4/letter/y/ecc23a/32.png) [@Yi\_Ge](https://discuss.elastic.co/u/Yi_Ge)\
**Post date:** [November 15, 2017, 7:42am UTC](https://discuss.elastic.co/t/packetbeat-mysql-bug/107682/1 "2017-11-15T07:42:12Z")

</div>

Hi,I'm using packetbeat to monitor MySQL database, and found that packetbeat do not support mysql\_stmt\_prepare and mysql\_stmt\_execute command, and too many SQL querys can not be extracted because of using prepare statement.Is there a plan to support these command type?

Also i found a little bug in mysql.go when call readLinteger function.See the picture below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/b/2baac3826c10e910ecd081bff09beef5060700c5.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 15, 2017, 9:28am UTC](https://discuss.elastic.co/t/packetbeat-mysql-bug/107682/2 "2017-11-15T09:28:15Z")

</div>

Please raise this on github - [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues) 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 13, 2017, 9:28am UTC](https://discuss.elastic.co/t/packetbeat-mysql-bug/107682/3 "2017-12-13T09:28:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
