Fading Coder

One Final Commit for the Last Sprint

Establishing Database Connections in Python with MySQL Connector

Python's mysql-connector-python package provides a standard interface for interacting with MySQL databases. Begin by installing the necessary driver via pip. pip install mysql-connector-python Following installation, you can implement a connection utility. This function encapsulates the connection l...

Design and Implementation of an Online Examination and Learning Collaboration Web Platform Based on Spring Boot and Vue

System Overview Modern industries rely on specialized software for daily operations, and internet technologies have become indispensable to global workforces. Existing exam and learning exchange management systems often suffer from non-standard operational workflows, low fault tolerance, and high ad...

A Comprehensive Overview of MySQL Logging Mechanisms

MySQL utilizes several types of logs to ensure data integrity, facilitate recovery, and enible high-performance replication. Understanding these logs is essential for database administration and performance tuning. This article examines the core logging components within the MySQL architecture, spec...

Automating MySQL 5.7 Backups with Cron Jobs

Directory Layout Start by building a dedicated structure for storing scripts, dump files, and logs: mkdir -p /mysql/backup/{scripts,files,logs} Full Backup Script Create the executable that handles database dumps: vi /mysql/backup/scripts/backup_full.sh Paste the logic below. It connects to MySQL, d...

A Practical Guide to MySQL Backup and Recovery

Every reliable backup system is built around five fundamental components: the data source, the backup destination, the transport network, the backup engine, and the backup schedule. Users define what to protect, specify a storage target, transmit the data over a chosen network, run the backup engine...

Deploying MySQL 5.7 Using Official Yum Repositories on CentOS

Default repositories in CentOS 7 prioritize MariaDB over MySQL. Executing standard installation commands will result in MariaDB being deployed instead. To utilize the official MySQL packages via the package manager, the specific repository configuration must be added mnaually. Configure the Official...

MySQL 8.0.20 Source Compilation and Installation on BClinux for Euler

Before proceeding, ensure your system meets minimum requirements: dual-core CPU, 2GB RAM (4GB+ recommended for concurrent services), and at least 30GB of free disk space. 1. Remove Conflicting Database Packages MySQL and MariaDB share similar binaries and configurations, leading to conflicts. Uninst...

Percona XtraBackup for MySQL Physical Backup and Recovery

Introduction to Percona XtraBackup Percona XtraBackup is an open-source tool for performing physical backups of MySQL databases. It supports hot backups, meaning data can be backed up without interrupting active transactions. This makes it iddeal for large databases where traditional logical backup...

MySQL Data Migration Techniques in Version 8.0.25

This article focuses on logical data migration approaches in MySQL 8.0.25, particularly for small to medium-sized datasets (under 100MB). Recently, I installed MySQL 8.0.25 64-bit on Windows. It's evident that Oracle hasn't invested as much in MySQL as they have in their flagship Oracle database, wh...

Recovering Accidentally Deleted MySQL Data

Recovering data lost due to accidental deletion is a critical task in database administration. MySQL provides multiple mechanisms for data recovery, each suited to different scenarios. Restoring from Backups This method relies on previously created database backups. It recovers the database to the s...