<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    >>> Hallo Stefan,<br>
    <br>
            Das hatte ich Vorfeld bereits versucht. Es kommt dann
    folgende Fehlermeldung:<br>
    <br>
           
    <h1 style="font-size: 18.368px; font-weight: bold;
      border-bottom-width: 2px; border-bottom-style: solid;
      border-color: rgb(255, 0, 0); text-align: left; margin: 0px 0px
      0.2em; font-family: sans-serif; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      letter-spacing: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      text-decoration-thickness: initial;" class="">       Fehler</h1>
    <p style="font-family: sans-serif; font-size: 13.12px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; text-decoration-thickness: initial;" class=""><strong
        class="">           SQL-Befehl:</strong></p>
    <p style="font-family: sans-serif; font-size: 13.12px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; text-decoration-thickness: initial;" class=""><code
        class="sql" style="font-family: monospace; display: block;
        padding: 1em; margin-top: 0px; margin-bottom: 0px; max-height:
        10em; overflow: auto;"></code></p>
    <pre style="font-family: monospace; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial;" class=""><code class="sql" style="font-family: monospace; display: block; padding: 1em; margin-top: 0px; margin-bottom: 0px; max-height: 10em; overflow: auto;">   DELETE FROM `entities` WHERE id = 1
</code></pre>
    <p style="font-family: sans-serif; font-size: 13.12px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; text-decoration-thickness: initial;" class=""><strong
        class="">           MySQL meldet:<span class=""> </span></strong><a
href="http://192.168.178.32/phpmyadmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Ferror-messages-server.html"
        target="mysql_doc" style="text-decoration: underline; color:
        rgb(35, 90, 129); cursor: pointer; outline: none;" class=""><img
          src="http://192.168.178.32/phpmyadmin/themes/dot.gif"
          title="Dokumentation" alt="Dokumentation" class=" icon
          ic_b_help" style="vertical-align: middle; border: 0px; margin:
          0px 0px 0px 0.3em; width: 16px; height: 16px; padding: 0px
          !important; background-image:
          url("./themes/pmahomme/img/sprites.png") !important;
          background-repeat: no-repeat !important; background-position:
          0px -400px !important;"></a></p>
    <code style="font-family: monospace; font-style: normal;
      font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; text-decoration-thickness: initial;" class="">     #1451 -
      Cannot delete or update a parent row: a foreign key constraint
      fails (`volkszaehler`.`data`, CONSTRAINT `FK_ADF3F36372F5A1AA`
      FOREIGN KEY (`channel_id`) REFERENCES `entities`    <br class="">
           (`id`))</code><br class="">
      <br>
    <strong><code></code></strong><br>
    >>> Hallo Michael,<br>
    <br>
            Mit welchem user/passwort hast Du Dich in phpMyAdmin
    angemeldet? Lt.WIKI soll vz-admin/secure für Löschzugriffe verwendet
    werden. Geht bei mir aber nicht!?     <br>
    <br>
    Am 06.04.2021 um 07:32 schrieb Michael Hartmann:<br>
    <blockquote type="cite"
cite="mid:trinity-3c222c2e-e1f3-4640-ace9-00de467dea54-1617687131875@3c-app-webde-bap27">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div>Z.B. weil in Einzelfällen (bei mir) das Löschen von Känälen
          inkl. Daten über das UI fehlschlägt. Ich bin die Daten auch
          nur über Rumrödeln auf der DB mittels phpMyAdmin losgeworden
          :-/.</div>
        <div> </div>
        <div>Grüße</div>
        <div> </div>
        <div>Micha</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; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">
              <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Montag,
                05. April 2021 um 19:37 Uhr<br>
                <b>Von:</b> "Andreas Goetz" <a class="moz-txt-link-rfc2396E" href="mailto:cpuidle@gmail.com"><cpuidle@gmail.com></a><br>
                <b>An:</b> "volkszaehler.org - users"
                <a class="moz-txt-link-rfc2396E" href="mailto:volkszaehler-users@demo.volkszaehler.org"><volkszaehler-users@demo.volkszaehler.org></a><br>
                <b>Betreff:</b> Re: [vz-users] ´entities´ in phpMyAdmin
                löschen</div>
              <div name="quoted-content">
                <div>Nochmal: warum nicht einfach das UI benutzen
                  anstatt hart auf der Datenbank rumzurödeln?
                  <div> </div>
                  <div>Viele Grüße, Andreas</div>
                  <div> 
                    <div> 
                      <blockquote>
                        <div>On 5. Apr 2021, at 19:19, Stefan Bauer <<a
                            href="mailto:spam@stefan-bauer.net"
                            onclick="parent.window.location.href='mailto:spam@stefan-bauer.net';
                            return false;" target="_blank"
                            moz-do-not-send="true">spam@stefan-bauer.net</a>>
                          wrote:</div>
                         
                        <div>
                          <div>Delete from entities where id = xx
                            <div>Delete from properties where entity_id
                               = xx</div>
                            <div>Delete from entities_in_aggregator
                              where child_id = xx</div>
                            <div> </div>
                            <div>Und wenn Daten auch weg sollen:</div>
                            <div>Delete from data where channel_id = xx</div>
                            <div> </div>
                            <div>Stefan<br>
                               
                              <div>Von meinem iPad gesendet</div>
                              <div> 
                                <blockquote>Am 05.04.2021 um 17:59
                                  schrieb Torsten <<a
                                    href="mailto:t.wisgalla@gmx.de"
                                    onclick="parent.window.location.href='mailto:t.wisgalla@gmx.de';
                                    return false;" target="_blank"
                                    moz-do-not-send="true">t.wisgalla@gmx.de</a>>:<br>
                                   </blockquote>
                              </div>
                              <blockquote>
                                <div> Hallo zusammen,<br>
                                  <br>
                                  wie kann ich in via <i><b>phpMyAdmin</b></i>
                                  nicht benötigte ´entities´  löschen.
                                  Anmeldung im <b><i>pMA</i></b>
                                  erfolgte als root.<br>
                                  <br>
                                  Wollte die nicht benötigten Kanäle für
                                  die FRONTEND-Anwendung <i>day_values.php</i>
                                  dauerhaft ausblenden. Oder gibt es
                                  dazu einen anderen Lösungsansatz.<br>
                                  <br>
                                  Besten Dank und Gruß - Torsten</div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>