title: statsd influxdb retention policy not found
body: <p>when sending data to statsd:</p>
  
  <pre><code>echo "foo:1|c" | nc -u -w0 127.0.0.1 8125
  </code></pre>
  
  <p>statsd will output the result after refresh and insert the data to influxDB:</p>
  
  <pre><code>{ counters: 
     { 'statsd.bad_lines_seen': 0,
       'statsd.packets_received': 1,
       'statsd.metrics_received': 1,
       foo: 1 },
    timers: {},
    gauges: { 'statsd.timestamp_lag': 0 },
    timer_data: {},
    counter_rates: 
     { 'statsd.bad_lines_seen': 0,
       'statsd.packets_received': 0.03333333333333333,
       'statsd.metrics_received': 0.03333333333333333,
       foo: 0.03333333333333333 },
    sets: {},
    pctThreshold: [ 90 ] }
  </code></pre>
  
  <p>run the command to show influxDB info:</p>
  
  <pre><code>$curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=SHOW MEASUREMENTS"
  </code></pre>
  
  <p>will give the response successfully:</p>
  
  <pre><code>{
      "results": [
          {
              "series": [
                  {
                      "name": "measurements",
                      "columns": [
                          "name"
                      ],
                      "values": [
                          [
                              "cpu_load_short"
                          ],
                          [
                              "foo.counter"
                          ]
                      ]
                  }
              ]
          }
      ]
  }
  </code></pre>
  
  <p>then I want to query the data from influxDB:</p>
  
  <pre><code>$curl -G 'http://localhost:8086/query?pretty=true' --data-urlencode "db=mydb" --data-urlencode "q=SELECT value FROM foo.counter"
  </code></pre>
  
  <p>I get the Error message:</p>
  
  <pre><code>{
      "results": [
          {
              "error": "retention policy not found"
          }
      ]
  }
  </code></pre>
  
  <p>Any ideas? 
  influxDB : 0.9.3</p>