Skip to content
  • 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
Logo
  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.0k

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

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

Maria DB Config kein Zugriff

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.
  • F Offline
    F Offline
    frankyboy73
    wrote on last edited by
    #1

    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
    
    

    Schöne Grüße Frank

    CodierknechtC Ro75R 2 Replies 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
      
      
      CodierknechtC Offline
      CodierknechtC Offline
      Codierknecht
      Developer Most Active
      wrote on last edited by
      #2

      @frankyboy73 sagte in Maria DB Config kein Zugriff:

      da beides auf einem Raspi läuft

      Zeig mal

      iob diag
      

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

      Proxmox 8.2.4 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi + dies & das
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      F 1 Reply Last reply
      0
      • CodierknechtC Codierknecht

        @frankyboy73 sagte in Maria DB Config kein Zugriff:

        da beides auf einem Raspi läuft

        Zeig mal

        iob diag
        
        F Offline
        F Offline
        frankyboy73
        wrote on last edited by
        #3

        @codierknecht sagte in Maria DB Config kein Zugriff:

        iob diag

        ======================= SUMMARY =======================
                                v.2023-10-10
        
        
           Static hostname: raspberrypi
                 Icon name: computer
          Operating System: Raspbian GNU/Linux 11 (bullseye)
                    Kernel: Linux 6.1.21-v8+
              Architecture: arm64
        
        Installation:           native
        Kernel:                 aarch64
        Userland:               armhf
        Timezone:               Europe/Berlin (CET, +0100)
        User-ID:                1000
        X-Server:               false
        Boot Target:            graphical.target
        
        Pending OS-Updates:     28
        Pending iob updates:    2
        
        Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                /usr/bin/node           v18.19.0
                                /usr/bin/npm            10.2.3
                                /usr/bin/npx            10.2.3
                                /usr/bin/corepack       0.22.0
        
        Recommended versions are nodejs 18.19.1 and npm 10.2.4
        Your nodejs installation is correct
        
        MEMORY:
                       total        used        free      shared  buff/cache   available
        Mem:            3.8G        1.6G        996M        0.0K        1.2G        2.1G
        Swap:            99M          0B         99M
        Total:          3.9G        1.6G        1.1G
        
        Active iob-Instances:   18
        Active repo(s): Stable (default)
        
        ioBroker Core:          js-controller           5.0.17
                                admin                   6.13.15
        
        ioBroker Status:        iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Status admin and web instance:
        + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        
        Objects:                7016
        States:                 8165
        
        Size of iob-Database:
        
        25M     /opt/iobroker/iobroker-data/objects.jsonl
        8.3M    /opt/iobroker/iobroker-data/objects.json.migrated
        8.3M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
        5.3M    /opt/iobroker/iobroker-data/states.jsonl
        1.6M    /opt/iobroker/iobroker-data/states.json.migrated
        1.6M    /opt/iobroker/iobroker-data/states.json.bak.migrated
        
        
        
        =================== END OF SUMMARY ====================
        

        Schöne Grüße Frank

        CodierknechtC 1 Reply Last reply
        0
        • F frankyboy73

          @codierknecht sagte in Maria DB Config kein Zugriff:

          iob diag

          ======================= SUMMARY =======================
                                  v.2023-10-10
          
          
             Static hostname: raspberrypi
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 11 (bullseye)
                      Kernel: Linux 6.1.21-v8+
                Architecture: arm64
          
          Installation:           native
          Kernel:                 aarch64
          Userland:               armhf
          Timezone:               Europe/Berlin (CET, +0100)
          User-ID:                1000
          X-Server:               false
          Boot Target:            graphical.target
          
          Pending OS-Updates:     28
          Pending iob updates:    2
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                  /usr/bin/node           v18.19.0
                                  /usr/bin/npm            10.2.3
                                  /usr/bin/npx            10.2.3
                                  /usr/bin/corepack       0.22.0
          
          Recommended versions are nodejs 18.19.1 and npm 10.2.4
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            3.8G        1.6G        996M        0.0K        1.2G        2.1G
          Swap:            99M          0B         99M
          Total:          3.9G        1.6G        1.1G
          
          Active iob-Instances:   18
          Active repo(s): Stable (default)
          
          ioBroker Core:          js-controller           5.0.17
                                  admin                   6.13.15
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects:                7016
          States:                 8165
          
          Size of iob-Database:
          
          25M     /opt/iobroker/iobroker-data/objects.jsonl
          8.3M    /opt/iobroker/iobroker-data/objects.json.migrated
          8.3M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
          5.3M    /opt/iobroker/iobroker-data/states.jsonl
          1.6M    /opt/iobroker/iobroker-data/states.json.migrated
          1.6M    /opt/iobroker/iobroker-data/states.json.bak.migrated
          
          
          
          =================== END OF SUMMARY ====================
          
          CodierknechtC Offline
          CodierknechtC Offline
          Codierknecht
          Developer Most Active
          wrote on last edited by
          #4

          @frankyboy73 sagte in Maria DB Config kein Zugriff:

          Pending OS-Updates:     28
          Pending iob updates:    2
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                  /usr/bin/node           v18.19.0
                                  /usr/bin/npm            10.2.3
                                  /usr/bin/npx            10.2.3
          

          Ich würde den erstmal auf aktuellen Stand bringen.

          Welcher Prozess ist denn

                  process ID: 29917
          

          Einen Reboot hast Du schon probiert?

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

          Proxmox 8.2.4 LXC|8 GB|Core i7-6700
          HmIP|ZigBee|Tasmota|Unifi + dies & das
          Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

          F 1 Reply Last reply
          0
          • CodierknechtC Codierknecht

            @frankyboy73 sagte in Maria DB Config kein Zugriff:

            Pending OS-Updates:     28
            Pending iob updates:    2
            
            Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                    /usr/bin/node           v18.19.0
                                    /usr/bin/npm            10.2.3
                                    /usr/bin/npx            10.2.3
            

            Ich würde den erstmal auf aktuellen Stand bringen.

            Welcher Prozess ist denn

                    process ID: 29917
            

            Einen Reboot hast Du schon probiert?

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

            @codierknecht Hi, ja, reboot habe ich schon öfters probiert. Was für ein process 29917 ist weiß ich nicht, habe auch keine Ahnung wie ich das rauskriege.
            Auf den aktuellen Stand kann ich das natürlich bringen, aber das Problem bestand auch schon als die NodeJS 18.19.0 die aktuelle war. Habe das so hingenommen da ja in Verbindung mit Ibroker bzw. dem SQL Adapter noch funktioniert. Aber da ich so langsam auf Bookworm umziehen möchte, muss ich ja irgendwie meine Datenbanken sichern für den Umzug.
            Edit: Mir ist auch nicht ganz klar was die Iobroker Installation, damit zu tun haben soll, das ich nicht mehr auf meine Maria DB Datenbanken bzw. auf die Maria DB Config Datei zugreifen kann.

            Schöne Grüße Frank

            CodierknechtC 1 Reply Last reply
            0
            • F frankyboy73

              @codierknecht Hi, ja, reboot habe ich schon öfters probiert. Was für ein process 29917 ist weiß ich nicht, habe auch keine Ahnung wie ich das rauskriege.
              Auf den aktuellen Stand kann ich das natürlich bringen, aber das Problem bestand auch schon als die NodeJS 18.19.0 die aktuelle war. Habe das so hingenommen da ja in Verbindung mit Ibroker bzw. dem SQL Adapter noch funktioniert. Aber da ich so langsam auf Bookworm umziehen möchte, muss ich ja irgendwie meine Datenbanken sichern für den Umzug.
              Edit: Mir ist auch nicht ganz klar was die Iobroker Installation, damit zu tun haben soll, das ich nicht mehr auf meine Maria DB Datenbanken bzw. auf die Maria DB Config Datei zugreifen kann.

              CodierknechtC Offline
              CodierknechtC Offline
              Codierknecht
              Developer Most Active
              wrote on last edited by
              #6

              @frankyboy73 sagte in Maria DB Config kein Zugriff:

              habe auch keine Ahnung wie ich das rauskriege

              htop
              

              Mir ist auch nicht ganz klar was die Iobroker Installation, damit zu tun haben soll

              Die Installation selbst nicht. Ich wollte nur sehen, wie die Speicherauslastung aussieht.
              Das Swap aber leer und der Speicher eigentlich nicht knapp ist, weiß ich da auch nicht weiter.

              Vielleicht hilfts ja, ioBroker und MariaDB mal zu beenden, um auf die Config zu kommen.

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

              Proxmox 8.2.4 LXC|8 GB|Core i7-6700
              HmIP|ZigBee|Tasmota|Unifi + dies & das
              Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

              F 1 Reply Last reply
              0
              • CodierknechtC Codierknecht

                @frankyboy73 sagte in Maria DB Config kein Zugriff:

                habe auch keine Ahnung wie ich das rauskriege

                htop
                

                Mir ist auch nicht ganz klar was die Iobroker Installation, damit zu tun haben soll

                Die Installation selbst nicht. Ich wollte nur sehen, wie die Speicherauslastung aussieht.
                Das Swap aber leer und der Speicher eigentlich nicht knapp ist, weiß ich da auch nicht weiter.

                Vielleicht hilfts ja, ioBroker und MariaDB mal zu beenden, um auf die Config zu kommen.

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

                @codierknecht Ok, htop habe ich mal eingegeben, aber mir wir kein Process mit 29917 angezeigt. Die höchste Zahl ist im 10000 Bereich.
                iob.jpg
                Wie beende ich denn MariaDB? Bin leider kein Linux Fachmann.

                Schöne Grüße Frank

                CodierknechtC 1 Reply Last reply
                0
                • F frankyboy73

                  @codierknecht Ok, htop habe ich mal eingegeben, aber mir wir kein Process mit 29917 angezeigt. Die höchste Zahl ist im 10000 Bereich.
                  iob.jpg
                  Wie beende ich denn MariaDB? Bin leider kein Linux Fachmann.

                  CodierknechtC Offline
                  CodierknechtC Offline
                  Codierknecht
                  Developer Most Active
                  wrote on last edited by
                  #8

                  @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
                  

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

                  Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                  HmIP|ZigBee|Tasmota|Unifi + dies & das
                  Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                  F 1 Reply Last reply
                  0
                  • 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 Offline
                      CodierknechtC Offline
                      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 8.2.4 LXC|8 GB|Core i7-6700
                      HmIP|ZigBee|Tasmota|Unifi + dies & das
                      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 Offline
                            CodierknechtC Offline
                            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 8.2.4 LXC|8 GB|Core i7-6700
                            HmIP|ZigBee|Tasmota|Unifi + dies & das
                            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 Offline
                                    CodierknechtC Offline
                                    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 8.2.4 LXC|8 GB|Core i7-6700
                                    HmIP|ZigBee|Tasmota|Unifi + dies & das
                                    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 Offline
                                      Ro75R Offline
                                      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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          273

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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