# \\MySQL\\Connector was unexpected at this time

**URL:** <https://discuss.elastic.co/t/mysql-connector-was-unexpected-at-this-time/168590>\
**Category:** Logstash\
**Created:** [February 15, 2019, 12:58pm UTC](https://discuss.elastic.co/t/mysql-connector-was-unexpected-at-this-time/168590 "2019-02-15T12:58:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Defopmans](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Defopmans](https://discuss.elastic.co/u/Defopmans)\
**Post date:** [February 15, 2019, 12:58pm UTC](https://discuss.elastic.co/t/mysql-connector-was-unexpected-at-this-time/168590/1 "2019-02-15T12:58:42Z")

</div>

Im experimenting with logstash, but I can't seem to get it running.  
As soon as i run next line from cmd:  
logstash -e input { stdin { } } output { stdout {} }  
i get:  
\MySQL\Connector was unexpected at this time.  
Any idea what it could be?  
Couldn't find anything on this topic. Is there somethingI'm overlooking?

---

<div class="post-metadata">

**Author:** ![Defopmans](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Defopmans](https://discuss.elastic.co/u/Defopmans)\
**Post date:** [February 19, 2019, 9:18am UTC](https://discuss.elastic.co/t/mysql-connector-was-unexpected-at-this-time/168590/2 "2019-02-19T09:18:32Z")

</div>

I fixed it!  
I think it had to do something with the enviroment variables. I deleted them and now it works.

---

<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:** [March 19, 2019, 9:18am UTC](https://discuss.elastic.co/t/mysql-connector-was-unexpected-at-this-time/168590/3 "2019-03-19T09:18:33Z")

</div>

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