So verwenden Sie phpMyAdmin zur Verwaltung von Datenbanken
Was ist phpMyAdmin?
phpMyAdmin ist ein weit verbreitetes Open-Source-Datenbankverwaltungstool, das speziell für die Verwaltung von MySQL- und MariaDB-Datenbanken entwickelt wurde. Es bietet eine webbasierte Benutzeroberfläche, die die Datenbankverwaltung intuitiver und bequemer macht. phpMyAdmin zeichnet sich durch folgende bemerkenswerte Vorteile aus:
- Multifunktional: Unterstützt die meisten MySQL- und MariaDB-Funktionen wie Verwaltung von Datenbanken, Tabellen, Feldern, Beziehungen, Indizes, Benutzern und Berechtigungen.
- Benutzerfreundlich: Bietet eine leicht zu bedienende grafische Oberfläche, die Benutzern hilft, verschiedene Datenbankoperationen einfach auszuführen.
- Mehrsprachige Unterstützung: Unterstützt mehrere Sprachen und ist somit für Benutzer auf der ganzen Welt geeignet.
- Hohe Erweiterbarkeit: Unterstützt Plugins und Skripterweiterungen, sodass Benutzer Anpassungen nach Bedarf vornehmen können.
Für Entwickler erhöht phpMyAdmin nicht nur die Arbeitseffizienz, sondern vereinfacht auch die Komplexität der Datenbankverwaltung.
Zugriff auf phpMyAdmin
ServBay enthält bereits phpMyAdmin. Sie können phpMyAdmin über die folgende Adresse aufrufen: https://servbay.host/phpmyadmin
Verwendung von phpMyAdmin zur Verwaltung der in ServBay integrierten MariaDB (MySQL)-Datenbank
Anmeldung am Server
- Browser öffnen: Besuchen Sie die URL von phpMyAdmin.
- Verbindungsinformationen eingeben: Geben Sie auf der Anmeldeseite die Verbindungsinformationen des Servers ein:
- Benutzername und Passwort: In den "Einstellungen" - "Datenbank" von ServBay erhältlich.
- Server:
default
oder spezifische Version
- Anmelden: Klicken Sie auf die Schaltfläche „Anmelden“, um die Datenbankverwaltung zu betreten.
Datenbank erstellen
- Datenbankverwaltungsoberfläche aufrufen: Nach erfolgreicher Anmeldung klicken Sie im linken Menü auf „Datenbanken“.
- Neue Datenbank erstellen:
- Geben Sie im Feld „Neue Datenbank erstellen“ den Datenbanknamen ein.
- Wählen Sie ein Zeichensatz (optional).
- Klicken Sie auf „Erstellen“, um die Datenbank zu erstellen.
Tabellen erstellen
- Datenbank auswählen: Wählen Sie im linken Menü die gerade erstellte Datenbank aus.
- Tabelle erstellen:
- Klicken Sie auf „Tabelle erstellen“.
- Geben Sie den Tabellennamen und die Feldinformationen ein (wie Feldname, Typ, Länge, Standardwert usw.).
- Klicken Sie auf „Speichern“, um die Tabelle zu erstellen.
Daten hinzufügen
- Tabelle auswählen: Wählen Sie im linken Menü die Tabelle aus, die Sie bearbeiten möchten.
- Daten einfügen:
- Klicken Sie auf „Einfügen“.
- Geben Sie die Datenwerte ein.
- Klicken Sie auf „Ausführen“, um die Daten zu speichern.
Daten abfragen
- Tabelle auswählen: Wählen Sie im linken Menü die Tabelle aus, die Sie bearbeiten möchten.
- Daten durchsuchen:
- Klicken Sie auf „Durchsuchen“, um die Daten in der Tabelle anzuzeigen.
- Sie können die Abfragefunktion verwenden, um Daten zu filtern.
Daten aktualisieren
- Tabelle auswählen: Wählen Sie im linken Menü die Tabelle aus, die Sie bearbeiten möchten.
- Daten bearbeiten:
- Klicken Sie auf „Durchsuchen“, um die Daten anzuzeigen.
- Finden Sie die Datenzeile, die Sie bearbeiten möchten, und klicken Sie auf das „Bearbeiten“-Symbol.
- Ändern Sie die Datenwerte.
- Klicken Sie auf „Ausführen“, um die Änderungen zu speichern.
Daten löschen
- Tabelle auswählen: Wählen Sie im linken Menü die Tabelle aus, die Sie bearbeiten möchten.
- Daten löschen:
- Klicken Sie auf „Durchsuchen“, um die Daten anzuzeigen.
- Wählen Sie die zu löschende Datenzeile aus, indem Sie das entsprechende Kontrollkästchen aktivieren.
- Klicken Sie auf die Schaltfläche „Löschen“, um das Löschen zu bestätigen.
Tabelle löschen
- Datenbank auswählen: Wählen Sie im linken Menü die Datenbank aus, die die zu löschende Tabelle enthält.
- Tabelle löschen:
- Wählen Sie in der Datenbankstrukturansicht die zu löschende Tabelle aus.
- Klicken Sie auf „Löschen“.
- Bestätigen Sie den Löschvorgang.
Datenbank löschen
- Datenbank auswählen: Wählen Sie im linken Menü die zu löschende Datenbank aus.
- Datenbank löschen:
- Klicken Sie auf die "Operationen"-Registerkarte.
- Scrollen Sie bis zum unteren Rand der Seite und klicken Sie auf die Schaltfläche „Datenbank löschen“.
- Bestätigen Sie den Löschvorgang.
Durch die oben genannten Schritte können Sie phpMyAdmin einfach zur Verwaltung der in ServBay integrierten MariaDB (MySQL)-Datenbank verwenden. Die benutzerfreundliche Oberfläche und die leistungsstarken Funktionen von phpMyAdmin werden Ihre Effizienz bei der Datenbankverwaltung erheblich steigern. Egal ob Sie Datenbanken, Tabellen erstellen oder Daten einfügen, abfragen, aktualisieren und löschen, phpMyAdmin bietet Ihnen eine komfortable Bedienung.