Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💾 MySQL Support hinzugefügt #674

Merged
merged 3 commits into from
May 18, 2024
Merged

💾 MySQL Support hinzugefügt #674

merged 3 commits into from
May 18, 2024

Conversation

gnmyt
Copy link
Owner

@gnmyt gnmyt commented May 18, 2024

💾 MySQL Support hinzugefügt

Important

Der MySQL-Support wird optional. Die Anbindung an die normale storage.db über SQLite bleibt weiterhin der Standard und bestehen.

Mit dieser PR wird Support für MySQL hinzugefügt. Dieser ist praktisch, wenn man die Datenbank noch aus weiterer Software lesen möchte. Dies schließt das Issue #594.

Möchte man anstelle der Datei eine MySQL-Datenbank verwenden, muss man folgende Umgebungsvariablen einstellen:

Variable Beschreibung Beispiel
DB_TYPE Setzt den Datenbanktyp (sqlite | mysql) mysql
DB_HOST Setzt den MySQL-Server localhost
DB_USER Setzt den MySQL-User myspeed
DB_PASS Setzt das Passwort für den Nutzer MySpeed123!
DB_NAME Setzt die Datenbank selbst myspeed

Änderungen vorgenommen an ...

  • Server
  • Client
  • Dokumentation
  • Sonstiges: ___

@gnmyt gnmyt added the enhancement New feature or request label May 18, 2024
@gnmyt gnmyt self-assigned this May 18, 2024
@gnmyt gnmyt linked an issue May 18, 2024 that may be closed by this pull request
2 tasks
@gnmyt gnmyt merged commit 242ad3b into development May 18, 2024
@gnmyt gnmyt deleted the features/mysql-support branch May 18, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Choose your own Database
1 participant