title: Error while connecting MYSQL with logstash
body: <p>I am facing this error while starting logstash.
  I have configured MYSQL db as input in logstash.</p>
  <pre><code> Pipeline_id:main
    Plugin: &lt;LogStash::Inputs::Jdbc jdbc_user=&gt;&quot;admin&quot;, jdbc_password=&gt;&lt;password&gt;, statement=&gt;&quot;SELECT * from table&quot;, jdbc_driver_library=&gt;&quot;/usr/s$
    Error: Permission denied - /.logstash_jdbc_last_run
    Exception: Errno::EACCES
    Stack: org/jruby/RubyIO.java:1237:in `sysopen'
  org/jruby/RubyIO.java:3800:in `write'
  </code></pre>