<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Oder:</div><div dir="ltr"><br></div><div dir="ltr">curl -X DELETE <span style="font-family: sans-serif;">http</span><a href="http://ip/middleware.php/data/UUID.json?from=...&to=...&operation=delete" style="font-family: sans-serif;">://IP/middleware.php/data/UUID.json?from=...&to=...</a></div><div dir="ltr"><br></div><div dir="ltr">Der VZ Datenbankuser benötigt dafür Löschrechte.</div><div dir="ltr"><br></div><div dir="ltr">Viele Grüße, Andreas</div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">Am 19.02.2020 um 12:27 schrieb Frank Richter <frank.richter83@gmail.com>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="auto"><div dir="auto" style="font-family:sans-serif">z.B.:</div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">http<a href="http://ip/middleware.php/data/UUID.json?from=...&to=...&operation=delete">://IP/middleware.php/data/UUID.json?from=...&to=...&operation=delete</a></div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif"><div dir="auto">oder:<a href="http://ip/middleware.php/data/UUID.json?from=...&to=...&operation=delete"><br>http://IP/middleware.php/data/UUID.json?</a>value=...&operation<a href="http://ip/middleware.php/data/UUID.json?from=...&to=...&operation=delete">=delete</a></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Vorher ohne operation=delete testen, ob die richtigen Datensätze selektiert werden.</div></div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Grüße</div><div dir="auto" style="font-family:sans-serif">Frank</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">John Doe <<a href="mailto:johndoe@null.net">johndoe@null.net</a>> schrieb am Mi., 19. Feb. 2020, 12:08:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>Hallo Andreas,</div>

<div> </div>

<div>besten Dank für den Tip. Hättest Du evtl. auch noch ein bis zwei weitere Infos, wikis hierzu oder dergleichen ?</div>

<div>Grüße</div>

<div> </div>

<div>JD.</div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Sent:</b> Wednesday, February 19, 2020 at 11:56 AM<br>
<b>From:</b> "Andreas Götz" <<a href="mailto:cpuidle@gmail.com" target="_blank" rel="noreferrer">cpuidle@gmail.com</a>><br>
<b>To:</b> "<a href="http://volkszaehler.org" target="_blank" rel="noreferrer">volkszaehler.org</a> - users" <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank" rel="noreferrer">volkszaehler-users@demo.volkszaehler.org</a>><br>
<b>Subject:</b> Re: [vz-users] Manuelles Löschen eines Wertes aus der DB</div>

<div name="quoted-content">
<div>Lösch einfach über das Api- dann musst Du Dir diese ganzen Fragen nicht stellen 👍🏻<br>
 
<div>Viele Grüße,
<div>Andreas</div>
</div>

<div> 
<blockquote>Am 19.02.2020 um 11:45 schrieb John Doe <<a href="mailto:johndoe@null.net" target="_blank" rel="noreferrer">johndoe@null.net</a>>:<br>
 </blockquote>
</div>

<blockquote>
<div>
<div style="font-family:Verdana;font-size:12.0px">
<div>Hallo zusammen,</div>

<div>kleines Update:</div>

<div> </div>

<div>Ich habe es schon mal auf der Konsole bis hierhin geschafft:</div>

<div> </div>

<div>
<div>mysql -u root</div>

<div>SHOW DATABASES;</div>

<div>USE volkszaehler;</div>

<div>SHOW TABLES FROM volkszaehler;</div>

<div>SHOW FILEDS FROM data;</div>

<div> </div>

<div>Aber mit meinem Denkansatz</div>

<div>SELECT MAX(value) FROM data WHERE channel_id = 1;</div>

<div>
<div> </div>

<div>komme ich irgendwie nicht weiter, da so ja nur der Maximalwert, nicht aber die zugehörige ID. die ich löschen möchte, ausgegeben wird.</div>

<div>Hat jemand noch einen Tip, wie ich das bewerkstelligen könnte ?</div>

<div>Grüße</div>

<div> </div>

<div>JD.</div>

<div style="margin:10.0px 5.0px 5.0px 10.0px;padding:10.0px 0 10.0px 10.0px;border-left:2.0px solid rgb(195,217,229)">
<div style="margin:0 0 10.0px 0"><b>Sent:</b> Wednesday, February 19, 2020 at 9:52 AM<br>
<b>From:</b> "John Doe" <<a href="mailto:johndoe@null.net" target="_blank" rel="noreferrer">johndoe@null.net</a>><br>
<b>To:</b> <a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank" rel="noreferrer">volkszaehler-users@demo.volkszaehler.org</a><br>
<b>Subject:</b> [vz-users] Manuelles Löschen eines Wertes aus der DB</div>

<div>
<div style="font-family:Verdana;font-size:12.0px">
<div> </div>

<div>Hallo zusammen,</div>

<div> </div>

<div>nach einem kleinen Versehen aufgrund eines Kartencrashs/-wechsels habe ich nun einen unschönen "Peak" in meinen Daten.</div>

<div>Hat jemand einen Tip für mich, wie ich diesen einen Wert manuell aus der DB löschen kann, wahlweise direkt auf der Konsole im SQL oder über phpmaAdmin ?</div>

<div>Bitte entschuldigt, wenn ich mich jetzt nicht konkret in die Tiefen der DB-Struktur und -organisationen eingearbeitet habe ...</div>

<div>Grüße</div>

<div> </div>

<div>JD.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div></div></div>
</blockquote></div>
</div></blockquote></body></html>