Installing MySQL 5.7 on CentOS 7 via Yum Repository
Removing Existing Database PackagesCentOS 7 typically ships with MariaDB as the default database, which conflicts with MySQL. Before installation, check for and remove any existing MySQL or MariaDB installations.rpm -qa | grep -E 'mysql|mariadb'If MariaDB libraries are present, remove them. Note that dependent packages like postfix might block ...
Posted on Sat, 29 Aug 2026 16:36:31 +0000 by smoothrider
Student Comprehensive Evaluation System Based on SSM Framework and JSP
System Architecture Overview
The student comprehensive evaluation system employs a traditional Java EE architecture combining Spring, Spring MVC, and MyBatis (SSM) with JSP for the presentation layer. This section details the core implementation components and configuration.
Backend Configuration
The application leverages MyBatis-Plus for data ...
Posted on Sat, 29 Aug 2026 16:35:34 +0000 by xhitandrun
Deploying MySQL and Redis with Docker Compose
First, ensure that Docker and Docker Compose are already installed on your server.
Setting Up Docker Environment
1. Install Docker Dependencies
yum install -y yum-utils device-mapper-persistent-data lvm2
2. Configure Docker Repository
yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3. Install D ...
Posted on Sat, 29 Aug 2026 16:04:21 +0000 by Eclectic
Utilizing JSON Functions in MySQL 8.0: JSON_EXTRACT, JSON_VALUE, and JSON_TABLE
MySQL 8.0 provides robust support for native JSON data types. Unlike storing JSON as a standard VARCHAR or TEXT string, the native JSON type offers automatic validasion of the document structure and an optimized binary format. This binary storage allows the server to look up sub-elements directly with out reparsing the entire text, significantl ...
Posted on Fri, 28 Aug 2026 16:56:51 +0000 by Patioman
Constructing a Modern Bookstore E-Commerce Platform with Spring Boot and Vue.js
This implementation details a full-stack bookstore application utilizing Spring Boot for backend services and Vue.js for the frontend interface. The system supports dual user roles: administrators manage product catalogs and order fulfillment, while customers browse merchandise and process purchases. The architecture employs RESTful APIs for da ...
Posted on Fri, 28 Aug 2026 16:28:27 +0000 by George W. Bush
Internal Mechanisms and Optimization Strategies for MySQL Indexing
Index Fundamentals and Data Structures
Database indexes function as specialized sorted data structures designed to accelerate data retrieval operations. In storage systems like MySQL, data persists physically on disk blocks. Without an index, locating a specific record requires a full table scan, sequentially traversing every disk page to find ...
Posted on Fri, 28 Aug 2026 16:23:01 +0000 by sylesia
Database Time Function Reference Across Different SQL Dialects
Implementation Setup
The solution uses a scripting platform with JSON formatting capabilities. The core functionality involves converting structured data into a readable JSON format for easy reference.
function transformData(inputPayload) {
var jsonObject = parseInput(inputPayload);
var formattedResult = JSON.stringify(jsonObject, null, ...
Posted on Fri, 28 Aug 2026 16:16:11 +0000 by Scottya
Integrating Spring Boot with MyBatis-Plus and MySQL Database
Build Configuration and Dependencies
Initialize the project by declaring the required libraries in the Maven descriptor. This setup establishes the core web framwork, incorporates the MyBatis-Plus persistence extension, adds the official MySQL driver, and integrates the Druid connection pool for efficient resource handling.
<?xml version=&qu ...
Posted on Fri, 28 Aug 2026 16:07:12 +0000 by cli_man
MySQL Database Backup and Recovery Using mysqldump
MySQL Database Backup and Recovery Using mysqldump
Overview of Backup Approaches
MySQL database backups can be categorized into two primary types:
Cold Backup
Hot Backup
Cold backup in MySQL doesn't have a dedicated tool. Instead, it involves shutting down the database and using OS commands to copy database files.
Hot backup refers to online ...
Posted on Thu, 27 Aug 2026 16:07:49 +0000 by chowdary
Setting Up MySQL 5.7 with MHA High Availability Cluster
Prerequisites: Three servers, MySQL 5.7-glibc installation, master-slave configuration using GTID mode.
MySQL Installation
Prepare installation package
Download MySQL from: https://pan.baidu.com/s/14w-oNT-oeTUujhFAnqjkSAExtract code: g8tk
[root@db-node1 install]# ll mysql-5.7.32-linux-glibc2.12-x86_64.tar.gz
-rw-r--r-- 1 root root 661214270 ...
Posted on Wed, 26 Aug 2026 16:56:06 +0000 by cgrenda