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 in Fedora Linux – how is the configuration of the server

MongoDB in Fedora Linux – how is the configuration of the server

Mongoshell The MongoShell is an interactive command window for the MongoDB database. You can use it for the CRUD operations. The MongoShell comes with the installation of MongoDB. After test, you type in the commands. What is CRUD? Create, Read, Update, Delete The command for the MongoShell mongosh It is possible that you see this message, but you can ignore it: and type the command: db.serverCmdLineOpts() The output is in the JSON (JavaScript Object Notation) Format. test> db.serverCmdLineOpts(){argv: [ ‚/usr/bin/mongod‘,…

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