Hello everybody !<br><br>I&#39;m trying to use SQL backend for rrdtool graph, as seen here :<br><a href="http://lists.ee.ethz.ch/p/rrdtool+libdbi.patch">http://lists.ee.ethz.ch/p/rrdtool+libdbi.patch</a><br><br>I recompiled latest rrdtool (from trunk: RRDtool 1.3.99909012700) with libDBI support, which is confirmed when configure is done : <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With libDBI: yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Libraries: -lxml2 -lcairo -lcairo -lcairo -lm&nbsp; -ldbi -ldl -lcairo -lfreetype -lfontconfig -lpng12 -lz -lm -lpixman-1&nbsp;&nbsp; -lglib-2.0&nbsp;&nbsp; -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lpng12 -lz -lm -lpixman-1<br>
<br>Then I tried to do a basic graph with following command line : <br>/usr/bin/rrdtool graph - --units=si -l 0 -i -R light --width 600 --height 600 --full-size-mode DEF:value=&quot;sql//mysql/host=<a href="http://127.0.0.1/dbname=mydb/username=test/password=test//mytable/mydate/bw/customer=&#39;me">127.0.0.1/dbname=mydb/username=test/password=test//mytable/mydate/bw/customer=&#39;me</a>&#39;&quot;:bp:AVERAGE LINE1:value#FF0000:value<br>
<br>But I get error : <br>ERROR: opening &#39;sql//mysql/********: No such file or directory <br>(without the ***)<br><br>With a strace : <br>[...]<br>open(&quot;sql//mysql/********&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br>
<br>So it seems my syntax is incorrect and is interpreted as a file. <br><br>What is wrong ?<br><br>Thank you <br><br>Olivier<br><br><br>