Kategorie: MySQL
Die verschiedenen LogTypen: Log Type Information Written to Log Error log Problems encountered starting, running, or stopping mysqld General query log Established client connections and statements received from clients Binary log Statements that change data (also used for replication) Relay log Data changes received from a replication master server Slow query log Queries that took more…
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’…
Nachfolgend werden die meistverwendeten Storagetypen beschrieben: Storage Typ Beschreibung/Merkmale MyISAM Tabellen MyISAM (My Indexed Sequential Access Method) ist eine Storage-Engine des Datenbankverwaltungssystems MySQL. Sie baut, um einige Erweiterungen ergänzt, auf dem älteren ISAM-System auf und war bis MySQL 5.1 Standard-Storage-Engine. Seit Version 5.5 wurde sie durch InnoDB als Standard-Storage-Engine abgelöst. HEAP und MEMORY Tabellen The…
Datenbanktyp Beschreibung Beispiel Einzeltabellen Datenbanken Die einfachste Datenbankart welche nur eine einzige Tabelle zur Abspeicherung aller Informationen verwendet. Excel Relationale Datenbanken Eine relationale Datenbank dient zur elektronischen Datenverwaltung in Computersystemen und beruht auf einem tabellenbasierten relationalen Datenbankmodell. SQL Objektorientierte Datenbanken Eine Objektdatenbank oder Objektorientierte Datenbank ist eine Datenbank, die auf dem Objektdatenbankmodell basiert. Im Unterschied…
Repository hinzufügen (falls noch nicht vorhanden): „wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm“ „rpm -ivh epel-release-6-8.noarch.rpm“ PHP installieren: „yum install php“ phpMyAdmin installieren: „yum install phpmyadmin“ Die phpMyAdmin Apache Config muss angepasst werden (/etc/httpd/conf.d/phpMyAdmin.conf):: <Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> Require ip 192.168.7.0/24 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from All Allow from…
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.