# Could not send query when reading from MySQL

**URL:** https://community.dremio.com/t/could-not-send-query-when-reading-from-mysql/533
**Category:** Uncategorized
**Created:** [December 8, 2017, 6:20am UTC](https://community.dremio.com/t/could-not-send-query-when-reading-from-mysql/533 "2017-12-08T06:20:21Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![HLNA](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@HLNA](https://community.dremio.com/u/HLNA)
#### Post date: [February 15, 2018, 3:01am UTC](https://community.dremio.com/t/could-not-send-query-when-reading-from-mysql/533/7 "2018-02-15T03:01:20Z")

</div>

Any solution on this error? I have similar errors

> [@Could not send query unexpected end of exception](https://community.dremio.com/t/could-not-send-query-unexpected-end-of-exception/767):
>
> Received following error on a query (which sometimes work). I am on community edition of 1.4. Caused by: java.sql.SQLNonTransientConnectionException: (conn:706080479) Could not send query: unexpected end of exception, read 0 bytes from 4 Blockquote In all cases, it seems to be MariaDB jdbc client ? Seems there is a jira card on it [https://jira.mariadb.org/browse/CONJ-348](https://jira.mariadb.org/browse/CONJ-348) Will try to use " useServerPrepStmts=false" in jdbc url… but, appreciate if any solution available.

---

_[View the full topic](https://community.dremio.com/t/could-not-send-query-when-reading-from-mysql/533)._
