Durchsuchen nach
Kategorie: Datenbanken

Datenbanken wie MySQL und MongoDB kommen hier vor.

Laufsport – Jogging mit IT verbinden

Laufsport – Jogging mit IT verbinden

Man kann sein Trainingskontingent auch mit der IT verbinden. Die meisten werden jetzt an ihre Laufuhren denken, die sie meist am linken Arm tragen. Ich denke, da untypischer oder typisch IT’ler, nämlich an Datenbanken. Vor längerer Zeit natürlich auch mithilfe von KI habe ich mir ein Frontend als HTML-Seite gebastelt, welches ich mithilfe von Node.JS, und Express.JS verbinde und einer SQLite3 Datenbank. Datenbankanbindung Die SQLite3 Datenbank ist eine kleine serverlose Datenbank, die auf den meisten Linux-Distributionen schon vorinstalliert ist, aber…

Weiterlesen Weiterlesen

MySQL 8 – Reset Root Password in 5 Minutes

MySQL 8 – Reset Root Password in 5 Minutes

*(2025 Working Method – no mysqld_safe needed)* Tested on MySQL 8.0 / 8.1 / 8.4 / 8.5 – Ubuntu, Debian, Fedora, Rocky Linux, AlmaLinux Since MySQL 8.x the old `mysqld_safe` command has been removed. All the old tutorials on the internet will fail. This guide works 100 % in 2025.

MongoDB in general

MongoDB in general

General information about 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.  On Linux, you can check the status of the server…

Weiterlesen Weiterlesen

MongoDB – Queries with Python

MongoDB – Queries with Python

This is an article for people who have already installed MongoDB on their pc and want to do more with a Python script and the database. Installed version of MongoDB What is Pymongo? Pymongo is like a toolbox that allows your Python programme to communicate with the MongoDB database. Think of it this way: MongoDB is the large chest of drawers containing your data, and Pymongo is the set of tools your Python programme needs to open drawers, insert new…

Weiterlesen Weiterlesen

MongoDB – simple queries in the Mongoshell

MongoDB – simple queries in the Mongoshell

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.  What is Mongoshell? The MongoShell is an interactive command window for the MongoDB database….

Weiterlesen Weiterlesen