Durchsuchen nach
Schlagwort: database

How to do some admin works with MariaDB and Python

How to do some admin works with MariaDB and Python

The challenge for every administrator, especially database administrators, naturally lies in keeping track of what their own system is doing. I’m not a database administrator, meaning I don’t work full-time in this field 40 hours a week. But even for the hobbyist database administrator using MariaDB, some of this information is quite useful. But I’ve been interested in databases for many years. I’m fascinated by data storage, because we encounter countless databases every day, even if we’re not aware of…

Weiterlesen Weiterlesen

What you can animate with Python for your physics learning

What you can animate with Python for your physics learning

Here is the video to the is script here You want to see more? How to Run This Simulation To get the Stoppenberg (is the name of a quarter of the town in Essen here in the West-Germany – we have a lot of hills here) Physics Sim running on your local machine, follow these three simple steps: 1. Install the Prerequisites First, ensure you have Python installed. Then, open your terminal (Fedora) or Command Prompt (Windows) and install the…

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