By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close

bash – zweifel.org

search

Schlagwort: bash


MySQL Datenbanken prüfen und reparieren

Posted by in Linux, MySQL

Nachfolgend befindet sich ein Script, das bei Ausführung die MySQL Datenbank überprüft und gegebenenfalls repariert: (farbig markierte Stellen bitte anpassen) #!/bin/bash #====================================Head=======================================   #Autor:                        Tobias Zweifel #Beschreibung:         automatisches ueberpruefen der MySQL Datenbank #Erstellt am:    28.05.2015 #Aenderungen: 28.05.2015   #====================================Head=======================================   #————————————-Start————————————- DATEVAR=date +20\%y\%m\%d_\%H\%M\%S IGNORE=”hier zu ignorierende Datenbanken hinzufügen“ password=”deinrootpasswort“ DBS=”$(/usr/bin/mysql –user=root –password=deinrootpasswort -Bse ‘show databases’…


close
search
Instagram
Instagram has returned invalid data.

Follow Me!

Neueste Kommentare

    Hi, guest!

    settings

    menu

    By continuing to use the site, you agree to the use of cookies. more information

    The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

    Close