Fundamentals of MySQL Query Language
Introduction to SQL
SQL (Structured Query Language) is a standard language for managing relational databases. It enables operations such as data retrieval, insertion, modification, and deletion.
SQL Syntax Basics
SQL is case-insensitive for keywords. Semicolons are used to separate statements in many database systems.
Essential SQL Commands
...
Posted on Tue, 25 Aug 2026 16:33:22 +0000 by disconne
MySQL Transaction Isolation Testing
MySQL Transaction Testing
Configure MySQL transaction settings:
-- Check autocommit status (1=on, 0=off)
SELECT @@autocommit;
-- Disable autocommit
SET autocommit = 0;
Prepare test data:
CREATE DATABASE transaction_test;
USE transaction_test;
CREATE TABLE users(id INT PRIMARY KEY, name VARCHAR(10)) ENGINE=InnoDB;
INSERT INTO users VALUES(1 ...
Posted on Tue, 25 Aug 2026 16:13:41 +0000 by zbert
Essential MySQL Commands for Database Operations
Database Operations
SHOW DATABASES;
USE database_name;
CREATE DATABASE [IF NOT EXISTS] db_name;
DROP DATABASE [IF EXISTS] db_name;
SHOW CREATE DATABASE db_name;
ALTER DATABASE db_name CHARACTER SET charset_name;
Tible Creatoin Examples
DROP TABLE IF EXISTS user_main;
CREATE TABLE `user_main` (
`user_id` varchar(10) NOT NULL,
`login_name` var ...
Posted on Sun, 23 Aug 2026 16:49:27 +0000 by vanderlay
Design and Implementation of a Warehouse Management System for Agricultural Machinery Parts Using Spring Boot and Vue.js
System Overview
A warehouse management system for agricultural machinery parts offers significant advantages in terms of operational fluidity, data consistency, and scalability. This design enables efficient handling of product catalogs, procurement, inbound/outbound logistics, and supplier relations.
Core Technologies
Primary Language: Java
Ba ...
Posted on Sun, 23 Aug 2026 16:36:37 +0000 by PHP Man
Parallel Logical Backup and Restore Strategies for MySQL using MyDumper
Traditional MySQL backup utilities like mysqldump operate using a single-threaded model, processing tables sequentially. This limitation often results in extended backup windows for large datasets. To address this, mydumper was developed as a multi-threaded logical backup tool. It allows for concurrent data extraction from tables and simultaneo ...
Posted on Sun, 23 Aug 2026 16:21:01 +0000 by riginosz
Centralized Linux Log Server Setup with rsyslog, MariaDB/MySQL, and LogAnalyzer
Core Architecture Overview
Deploy Linux’s built-in rsyslog as the primary log collection and forwarding layer, pair it with a MySQL-compatible database for structured log storage, use rsyslog templates to organize raw text logs in to a year/month/day directory tree with client IP-based filenames, and leverage LogAnalyzer for web-based log visua ...
Posted on Sun, 23 Aug 2026 16:17:13 +0000 by sohdubom
Managing MySQL Replication User Password Updates
Reviewing Current Replica Configuration
To begin the process of updating replication credentials, you should first inspect the current configuration stored on the replica server. This can be done by querying the mysql.slave_master_info table to identify the host, user, and existing password metadata.
SELECT
Host,
User_name,
User_ ...
Posted on Sun, 23 Aug 2026 16:10:35 +0000 by lupes
SQL Practice: User Statistics, Accuracy Rates, and Retention Analysis
Problem 1: August Practice Statistics for Fudan University Users
Context: Calculate the total number of questions practiced and the number of correct answers for users from Fudan University specifically in August.
Filtering: Match users where university = '复旦大学' in the user_profile table.
Time Constraint: Filter records from August using M ...
Posted on Sat, 22 Aug 2026 16:45:57 +0000 by sajy2k
Monitoring MySQL Group Replication with Performance Schema Tables
The primary tables used for this purpose are:
replication_group_members
replication_group_member_stats
replication_group_members Table
This table displays network and status information for replication group members. The network addresses shown are the ones used to connect clients to the group.
mysql> SELECT * FROM performance_schema.re ...
Posted on Sat, 22 Aug 2026 16:35:37 +0000 by bastienvans
How a Single SQL Statement Led to a Production Outage
Overview
Caution is advised when using INSERT INTO SELECT statements.
During a routine maintenance window, a developer needed to archive historical records from a large production table. Rather than fetching data through an application and performing batch inserts, the developer discovered that INSERT INTO SELECT could transfer data directly wi ...
Posted on Sat, 22 Aug 2026 16:25:15 +0000 by DjMikeS