Skip to main content

Recently Updated Pages

Passwort vergessen

MySQL / MariaDB / Percona XtraDB (+ Gal... Allgemein

Wenn das Kennwort für 'root' verloren ging / vergessen wurde und sonst auch keine Adminuser exist...

Updated 3 years ago by magenbrot

Probleme mit Umlauten zwischen Datenbank und Webseite (UTF-8/latin1/ISO8859-1)

MySQL / MariaDB / Percona XtraDB (+ Gal... Fehlerbehandlung

Bei der Wiederherstellung oder dem Umzug einer Datenbank kann es manchmal zu Problemen kommen. So...

Updated 3 years ago by magenbrot

Mit netcat einen mysqldump übers Netzwerk schicken

MySQL / MariaDB / Percona XtraDB (+ Gal... Backup

Wenn mal der Diskspace knapp wird, aber man trotzdem einen Fulldump der MySQL-DB braucht, lässt s...

Updated 3 years ago by magenbrot

Passwort setzen oder ändern

MySQL / MariaDB / Percona XtraDB (+ Gal... Allgemein

mit „mysqladmin“ ein Passwort setzen oder ändern: mysqladmin -h 'hostname' -u root password 'neu...

Updated 3 years ago by magenbrot

kompletten Dump eines MySQL-Servers erstellen

MySQL / MariaDB / Percona XtraDB (+ Gal... Backup

folgender Befehl erstellt einen kompletten Dump des MySQL-Servers (Parameter p weglassen, wenn lo...

Updated 3 years ago by magenbrot

InnoDB - ideale Logfile Größe herausfinden

MySQL / MariaDB / Percona XtraDB (+ Gal... Allgemein

von code.openark.com und MySQL Performance Blog Um den idealen Wert für innodb_log_file_size für...

Updated 3 years ago by magenbrot

Extraktion einer einzelnen Datenbank oder Tabelle aus einem Fulldump

MySQL / MariaDB / Percona XtraDB (+ Gal... Backup

Eine einzelne Datenbank aus einem Fulldump direkt wiederherzustellen ist ganz einfach: # mysql -...

Updated 3 years ago by magenbrot

Dump einer einzelnen Datenbank

MySQL / MariaDB / Percona XtraDB (+ Gal... Backup

mysqldump -p --create-options -Q -c --add-drop-table --add-locks -F DATENBANKNAME > db-dump.sql ...

Updated 3 years ago by magenbrot

Datenbank und Benutzer löschen

MySQL / MariaDB / Percona XtraDB (+ Gal... Allgemein

Einen Benutzer inkl. Datenbank löschen (ab MySQL 5.0.2): DROP USER user1; DROP DATABASE userdb1...

Updated 3 years ago by magenbrot

Bestimmte Datenbanken vom Dump ausschließen

MySQL / MariaDB / Percona XtraDB (+ Gal... Backup

DBEXCLUDE=will_nicht MYSQL=$(mysql -N <<<"SHOW DATABASES" | grep -v ${DBEXCLUDE} | tr "\n" " ") ...

Updated 3 years ago by magenbrot

InnoDB - defekte FRM Files wiederherstellen - Incorrect information in file

MySQL / MariaDB / Percona XtraDB (+ Gal... Fehlerbehandlung

Sollten InnoDB-Datenbanken korrupt sein und auch keinen Dump mehr erlauben, da diese mit folgende...

Updated 3 years ago by magenbrot

Fehler bei ALTER TABLE Errno 150: Foreign key constraint is incorrectly formed

MySQL / MariaDB / Percona XtraDB (+ Gal... Fehlerbehandlung

Dieser Fehler trat bei einem „ALTER TABLE `table` ENGINE = InnoDB“ auf (die Tabelle sollte von My...

Updated 3 years ago by magenbrot

Replikationsfehler Errno: 1594 Relay log read failure

MySQL / MariaDB / Percona XtraDB (+ Gal... Fehlerbehandlung

Wenn ein Server, auf dem ein MySQL-Replication-Slave läuft abstürzt, kann es passieren, dass die ...

Updated 3 years ago by magenbrot

Replikationsfehler Errno: 1580 ALTER Logtable

MySQL / MariaDB / Percona XtraDB (+ Gal... Fehlerbehandlung

Nach einem Update von MySQL bei einer Master-Slave-Replikation konnte die Replikation auf einem S...

Updated 3 years ago by magenbrot

Replikationsfehler Errno: 1236

MySQL / MariaDB / Percona XtraDB (+ Gal... Fehlerbehandlung

Replikationsfehler Errno: 1236: start replication from impossible position Slave I/O: Got fatal ...

Updated 3 years ago by magenbrot

Benutzertabelle als GRANT-Statements dumpen

MySQL / MariaDB / Percona XtraDB (+ Gal... Allgemein

Eine einfacherere Alternative wäre das Tool pt-show-grants aus dem Percona-Toolkit. Bei der Einr...

Updated 3 years ago by magenbrot

Vollständiges Recovery

Oracle Backup und Recovery

Ach du Scheiße! Alles in oradata (ctl-, db-, redo-files) ist weg! Aber zum Glück haben wir ja ein...

Updated 3 years ago by magenbrot

RMAN Format Codes

Oracle Backup und Recovery

Restrictions and Usage Notes Any name that is legal as a sequential filename on the platform is a...

Updated 3 years ago by magenbrot

RMAN - Aufruf und Connect

Oracle Backup und Recovery

das Folgende wurde durch Hermann Brunner für unseren Oracle DBA-Kurs zusammengefasst: Aufruf / C...

Updated 3 years ago by magenbrot

Allgemeines zu RMAN

Oracle Backup und Recovery

Alle RMAN-Einstellungen anzeigen: RMAN> show all; Automatisches Backup der Controlfiles einscha...

Updated 3 years ago by magenbrot