title: Collectd Python register_read error
body: <p>I'm trying to follow <a href="https://grafana.net/dashboards/235" rel="nofollow noreferrer">these</a> instructions for a MySQL dashboard, however when I try to run <strong><a href="https://github.com/chrisboulton/collectd-python-mysql/" rel="nofollow noreferrer">mysql.py</a></strong> script, it gives me the following error: </p>
  
  <pre><code>  File "mysql.py", line 565, in &lt;module&gt;
      collectd.register_read(read_callback)
  AttributeError: 'module' object has no attribute 'register_read'
  </code></pre>
  
  <p>I couldn't find any information on the internet about this error, so I am asking your help :)</p>