Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Maria DB Config kein Zugriff

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

Maria DB Config kein Zugriff

Scheduled Pinned Locked Moved Off Topic
22 Posts 5 Posters 1.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CodierknechtC Codierknecht

    @frankyboy73 sagte in Maria DB Config kein Zugriff:

    Wie beende ich denn MariaDB? Bin leider kein Linux Fachmann.

    Ich sicher auch nicht. Aber Tante Gurgel hilft da weiter:

    systemctl stop mariadb
    systemctl start mariadb
    
    F Offline
    F Offline
    frankyboy73
    wrote on last edited by
    #9

    @codierknecht Ok, habe MariaDb und Iobroker beendet, habe aber trotzdem keinen Zugriff auf die Config Datei. Leider gleiche Meldung.

    E325: ATTENTION
    Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
              owned by: root   dated: Tue Aug 16 18:51:27 2022
             file name: /etc/mysql/mariadb.conf.d/50-server.cnf
              modified: YES
             user name: root   host name: raspberrypi
            process ID: 29917
    While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                 dated: Sun Feb 20 02:40:11 2022
    
    (1) Another program may be editing the same file.  If this is the case,
        be careful not to end up with two different instances of the same
        file when making changes.  Quit, or continue with caution.
    (2) An edit session for this file crashed.
        If this is the case, use ":recover" or "vim -r /etc/mysql/mariadb.conf.d/50-
    server.cnf"
        to recover the changes (see ":help recovery").
        If you did this already, delete the swap file "/etc/mysql/mariadb.conf.d/.50
    -server.cnf.swp"
        to avoid this message.
    "/etc/mysql/mariadb.conf.d/50-server.cnf" 117 lines, 3666 bytes
    Press ENTER or type command to continue
    
    

    Schöne Grüße Frank

    CodierknechtC D 2 Replies Last reply
    0
    • F frankyboy73

      @codierknecht Ok, habe MariaDb und Iobroker beendet, habe aber trotzdem keinen Zugriff auf die Config Datei. Leider gleiche Meldung.

      E325: ATTENTION
      Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                owned by: root   dated: Tue Aug 16 18:51:27 2022
               file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                modified: YES
               user name: root   host name: raspberrypi
              process ID: 29917
      While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                   dated: Sun Feb 20 02:40:11 2022
      
      (1) Another program may be editing the same file.  If this is the case,
          be careful not to end up with two different instances of the same
          file when making changes.  Quit, or continue with caution.
      (2) An edit session for this file crashed.
          If this is the case, use ":recover" or "vim -r /etc/mysql/mariadb.conf.d/50-
      server.cnf"
          to recover the changes (see ":help recovery").
          If you did this already, delete the swap file "/etc/mysql/mariadb.conf.d/.50
      -server.cnf.swp"
          to avoid this message.
      "/etc/mysql/mariadb.conf.d/50-server.cnf" 117 lines, 3666 bytes
      Press ENTER or type command to continue
      
      
      CodierknechtC Online
      CodierknechtC Online
      Codierknecht
      Developer Most Active
      wrote on last edited by
      #10

      @frankyboy73
      Dann bin ich mit meinem Latein am Ende.
      Vielleicht hat @Thomas-Braun hier einen Rat?

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      F Thomas BraunT 2 Replies Last reply
      0
      • CodierknechtC Codierknecht

        @frankyboy73
        Dann bin ich mit meinem Latein am Ende.
        Vielleicht hat @Thomas-Braun hier einen Rat?

        F Offline
        F Offline
        frankyboy73
        wrote on last edited by
        #11

        @codierknecht Trotzdem vielen Dank für deine Mühe, habe dadurch auch wieder ein paar neue Sachen gelernt. iod diag und htop war mir auch neu, Danke.
        Zur Not hoffe ich, das ich mit dem Backit Adapter irgendwie die Datenbank mitnehmen kann.

        Schöne Grüße Frank

        1 Reply Last reply
        0
        • F frankyboy73

          @codierknecht Ok, habe MariaDb und Iobroker beendet, habe aber trotzdem keinen Zugriff auf die Config Datei. Leider gleiche Meldung.

          E325: ATTENTION
          Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                    owned by: root   dated: Tue Aug 16 18:51:27 2022
                   file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                    modified: YES
                   user name: root   host name: raspberrypi
                  process ID: 29917
          While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                       dated: Sun Feb 20 02:40:11 2022
          
          (1) Another program may be editing the same file.  If this is the case,
              be careful not to end up with two different instances of the same
              file when making changes.  Quit, or continue with caution.
          (2) An edit session for this file crashed.
              If this is the case, use ":recover" or "vim -r /etc/mysql/mariadb.conf.d/50-
          server.cnf"
              to recover the changes (see ":help recovery").
              If you did this already, delete the swap file "/etc/mysql/mariadb.conf.d/.50
          -server.cnf.swp"
              to avoid this message.
          "/etc/mysql/mariadb.conf.d/50-server.cnf" 117 lines, 3666 bytes
          Press ENTER or type command to continue
          
          
          D Offline
          D Offline
          dimaiv
          wrote on last edited by dimaiv
          #12

          @frankyboy73
          Mit welchem Befehl versuchst du es aufmachen?
          Update:
          Ganz oben gesehen "vi"
          Probier mal mit "nano"

          ioBroker- NUC8i3 / Proxmox / VM
          Node.js v22.21.0
          NPM v10.9.4
          JS controller 7.0.7
          Admin 7.7.19
          ZigBee Adapter 3.2.5
          Zigbee LAN Gateway CC2652P
          Zigbee Firmware 20250321

          CodierknechtC F 2 Replies Last reply
          0
          • D dimaiv

            @frankyboy73
            Mit welchem Befehl versuchst du es aufmachen?
            Update:
            Ganz oben gesehen "vi"
            Probier mal mit "nano"

            CodierknechtC Online
            CodierknechtC Online
            Codierknecht
            Developer Most Active
            wrote on last edited by
            #13

            @dimaiv

            pi@raspberrypi:~ $ sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
            

            siehe Eingangspost

            "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

            Proxmox 9.1.1 LXC|8 GB|Core i7-6700
            HmIP|ZigBee|Tasmota|Unifi
            Zabbix Certified Specialist
            Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

            1 Reply Last reply
            0
            • D dimaiv

              @frankyboy73
              Mit welchem Befehl versuchst du es aufmachen?
              Update:
              Ganz oben gesehen "vi"
              Probier mal mit "nano"

              F Offline
              F Offline
              frankyboy73
              wrote on last edited by
              #14

              @dimaiv Hi, so.

              sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
              

              Genau so habe ich es bei der ersten Installation auch gemacht. Video von hausautomatisierung.

              Schöne Grüße Frank

              D 1 Reply Last reply
              0
              • F frankyboy73

                @dimaiv Hi, so.

                sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
                

                Genau so habe ich es bei der ersten Installation auch gemacht. Video von hausautomatisierung.

                D Offline
                D Offline
                dimaiv
                wrote on last edited by
                #15

                @frankyboy73
                Probier mal mit "nano"

                ioBroker- NUC8i3 / Proxmox / VM
                Node.js v22.21.0
                NPM v10.9.4
                JS controller 7.0.7
                Admin 7.7.19
                ZigBee Adapter 3.2.5
                Zigbee LAN Gateway CC2652P
                Zigbee Firmware 20250321

                F 2 Replies Last reply
                0
                • D dimaiv

                  @frankyboy73
                  Probier mal mit "nano"

                  F Offline
                  F Offline
                  frankyboy73
                  wrote on last edited by
                  #16

                  @dimaiv
                  maria.jpg

                  Schöne Grüße Frank

                  CodierknechtC 1 Reply Last reply
                  0
                  • F frankyboy73

                    @dimaiv
                    maria.jpg

                    CodierknechtC Online
                    CodierknechtC Online
                    Codierknecht
                    Developer Most Active
                    wrote on last edited by
                    #17

                    @frankyboy73
                    Da klemmt wohl ein früherer Editierversuch.
                    Aber durch root ???

                    Dass der Kram aber einen Reboot überlebt, wundert micht etwas.

                    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                    Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                    HmIP|ZigBee|Tasmota|Unifi
                    Zabbix Certified Specialist
                    Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                    1 Reply Last reply
                    0
                    • F frankyboy73

                      Hi, ich komme leider nich mehr per Windows Rechner und Heidi SQL an meine Datenbanken dran, obwohl ich mir sicher bin das meine Benutzerdaten stimmen. Der Iobroker kann aber noch auf die Datenbank zugreifen, das passiert ja auch lokal, da beides auf einem Raspi läuft. Nun wollte ich in der Maria Config schauen was da nicht stimmt bzw, einen neuen Benutzer anlegen. Leider kann ich darauf nicht zugreifen und weiß nicht wie ich hier weiterkommen. Kennt jemand das Problem? Kann ich da noch was retten.

                      pi@raspberrypi:~ $ sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
                      E325: ATTENTION
                      Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                                owned by: root   dated: Tue Aug 16 18:51:27 2022
                               file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                                modified: YES
                               user name: root   host name: raspberrypi
                              process ID: 29917
                      While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                                   dated: Sun Feb 20 02:40:11 2022
                      
                      (1) Another program may be editing the same file.  If this is the case,
                          be careful not to end up with two different instances of the same
                          file when making changes.  Quit, or continue with caution.
                      (2) An edit session for this file crashed.
                          If this is the case, use ":recover" or "vim -r /etc/mysql/mariadb.conf.d/50-
                      server.cnf"
                          to recover the changes (see ":help recovery").
                          If you did this already, delete the swap file "/etc/mysql/mariadb.conf.d/.50
                      -server.cnf.swp"
                          to avoid this message.
                      "/etc/mysql/mariadb.conf.d/50-server.cnf" 117 lines, 3666 bytes
                      Press ENTER or type command to continue
                      
                      
                      Ro75R Online
                      Ro75R Online
                      Ro75
                      wrote on last edited by
                      #18

                      @frankyboy73 du hast auf deinem Raspi aber nicht zufällig

                      be2aac85-55a7-4dea-a27c-f16d29efe211-image.png

                      aktiviert?

                      Ro75.

                      SERVER = Beelink U59 16GB DDR4 RAM 512GB SSD, FB 7490, FritzDect 200+301+440, ConBee II, Zigbee Aqara Sensoren + NOUS A1Z, NOUS A1T, Philips Hue ** ioBroker, REDIS, influxdb2, Grafana, PiHole, Plex-Mediaserver, paperless-ngx (Docker), MariaDB + phpmyadmin *** VIS-Runtime = Intel NUC 8GB RAM 128GB SSD + 24" Touchscreen

                      1 Reply Last reply
                      0
                      • D dimaiv

                        @frankyboy73
                        Probier mal mit "nano"

                        F Offline
                        F Offline
                        frankyboy73
                        wrote on last edited by frankyboy73
                        #19

                        @dimaiv Hi, habe die Datei jetzt mit yes (open anyway) geöffnet. Jetzt konnte ich sie bearbeiten. Super. Warum ich die mit nano jetzt bearbeiten konnte und mit vi nicht erschließt sich mir nicht. Ich konnte sie zwar auch mit vi öffnen, aber ändern ging nicht.
                        Das binding war nicht mehr auskommentiert und daurch konnte ich nicht mehr von einem anderen Rechner auf die Database kommen.
                        Jetzt nach dem speichern und neustarten, kann ich die Config auch ohne Fehlermeldung öffen, auch mit vi, und wieder auf die Datenbank zugreifen.
                        Vielen Dank, ich weiß zwar nicht wie sich das von selbst geändert hat, aber ich bin froh das ich wieder drauf komme.
                        Auch an @Codierknecht und @Ro75 vielen Dank für eure Unterstützung.
                        Edit: @Codierknecht das mit root wundert mich auch, ich habe auf diesem System noch nie den root user benutzt.

                        Schöne Grüße Frank

                        1 Reply Last reply
                        1
                        • CodierknechtC Codierknecht

                          @frankyboy73
                          Dann bin ich mit meinem Latein am Ende.
                          Vielleicht hat @Thomas-Braun hier einen Rat?

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #20

                          @codierknecht

                          Nein. Von Datenbanken hab ich keine Ahnung.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          CodierknechtC 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @codierknecht

                            Nein. Von Datenbanken hab ich keine Ahnung.

                            CodierknechtC Online
                            CodierknechtC Online
                            Codierknecht
                            Developer Most Active
                            wrote on last edited by
                            #21

                            @thomas-braun sagte in Maria DB Config kein Zugriff:

                            Nein. Von Datenbanken hab ich keine Ahnung.

                            Ich meinte eher das hier:

                            E325: ATTENTION
                            Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                                      owned by: root   dated: Tue Aug 16 18:51:27 2022
                                     file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                                      modified: YES
                                     user name: root   host name: raspberrypi
                                    process ID: 29917
                            While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                                         dated: Sun Feb 20 02:40:11 2022
                            

                            Hat mit der DB selbst wenig zu tun.

                            Würde mich weiterhin interessieren, woher das Problem mit dem Editor kommt.

                            "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                            Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                            HmIP|ZigBee|Tasmota|Unifi
                            Zabbix Certified Specialist
                            Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                            F 1 Reply Last reply
                            0
                            • CodierknechtC Codierknecht

                              @thomas-braun sagte in Maria DB Config kein Zugriff:

                              Nein. Von Datenbanken hab ich keine Ahnung.

                              Ich meinte eher das hier:

                              E325: ATTENTION
                              Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                                        owned by: root   dated: Tue Aug 16 18:51:27 2022
                                       file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                                        modified: YES
                                       user name: root   host name: raspberrypi
                                      process ID: 29917
                              While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                                           dated: Sun Feb 20 02:40:11 2022
                              

                              Hat mit der DB selbst wenig zu tun.

                              Würde mich weiterhin interessieren, woher das Problem mit dem Editor kommt.

                              F Offline
                              F Offline
                              frankyboy73
                              wrote on last edited by
                              #22

                              @codierknecht sagte in Maria DB Config kein Zugriff:

                              Würde mich weiterhin interessieren, woher das Problem mit dem Editor kommt.

                              Mich auch

                              Schöne Grüße Frank

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              806

                              Online

                              32.4k

                              Users

                              81.6k

                              Topics

                              1.3m

                              Posts
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                              ioBroker Community 2014-2025
                              logo
                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Home
                              • Recent
                              • Tags
                              • Unread 0
                              • Categories
                              • Unreplied
                              • Popular
                              • GitHub
                              • Docu
                              • Hilfe