Durchsuchen nach
Kategorie: Datenbanken

Datenbanken wie MySQL und MongoDB kommen hier vor.

Linux (Fedora 41) Bash Script to do a backup for MongoDB

Linux (Fedora 41) Bash Script to do a backup for MongoDB

What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use. MongoDB is open-source and has a wide range of deployment options, including cloud-based services like…

Weiterlesen Weiterlesen

MongoDB – NoSQL Database – all locations

MongoDB – NoSQL Database – all locations

In order to find in MongoDB the whole paths, you can go into the mongoshell with mongosh It is possible that you see this message, but you can ignore it: sven@fedora:~$ mongoshCurrent Mongosh Log ID: 68833ee8dc64789649384af8Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.6Using MongoDB: 7.0.22Using Mongosh: 2.5.6 For mongosh info see: https://www.mongodb.com/docs/mongodb-shell/ The server generated these startup warnings when booting 2025-07-25T04:36:15.431+02:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted and type the command: db.serverCmdLineOpts() then…

Weiterlesen Weiterlesen

MySQL – Reset the root password

MySQL – Reset the root password

If you have forgotten your root password (it was in my case) then you can do the followings steps: I use here a Linux, Fedora 41. If you are using other distributions or Windows / macOS, please search for this operating systems. And if your system shows an error message, contact your favourite AI or a platform like StackOverflow. I did it today for the first day on my system because I did not know the root password. That’s all.

MySQL und Python
Zählen, wie viele Einträge es gibt

MySQL und Python
Zählen, wie viele Einträge es gibt

Was ist MySQL? MySQL ist wie ein gut organisiertes, digitales Bücherregal für Informationen. Stell dir vor, jede Schublade in diesem Regal ist eine Tabelle, in der du bestimmte Arten von Daten speicherst, zum Beispiel alle deine Kontakte oder alle deine Blogartikel. Anders als bei der flexiblen Schubladenkommode MongoDB, hat jede dieser Tabellen feste Spalten für bestimmte Informationen, wie Name, E-Mail oder Artikelüberschrift. So sind alle „Zettel“ (Datensätze) in einer Tabelle gleich aufgebaut. MySQL hilft dir, diese Informationen ordentlich zu speichern,…

Weiterlesen Weiterlesen

MySQL erklärt anhand eines Videos (30 Minuten) auf Deutsch

MySQL erklärt anhand eines Videos (30 Minuten) auf Deutsch

Was ist MySQL? MySQL ist wie ein gut organisiertes, digitales Bücherregal für Informationen. Stell dir vor, jede Schublade in diesem Regal ist eine Tabelle, in der du bestimmte Arten von Daten speicherst, zum Beispiel alle deine Kontakte oder alle deine Blogartikel. Anders als bei der flexiblen Schubladenkommode MongoDB, hat jede dieser Tabellen feste Spalten für bestimmte Informationen, wie Name, E-Mail oder Artikelüberschrift. So sind alle „Zettel“ (Datensätze) in einer Tabelle gleich aufgebaut. MySQL hilft dir, diese Informationen ordentlich zu speichern,…

Weiterlesen Weiterlesen

error: Content is protected !!