Spring Boot Multi-Data Source Configuration Guide

This article explores scenarios where multiple data sources are required and demonstrates how to configure them using Spring Boot. The configuration approach primarily references another blog post: https://blog.csdn.net/u012060033/article/details/123759694 For a concise overview, readers may refer to: https://www.cnblogs.com/chen-msg/p/7485701. ...

Posted on Sun, 19 Jul 2026 16:19:22 +0000 by iwanpattyn

Installing and Configuring MySQL 8.0 on CentOS 7

Environment CentOS Linux release 7.5.1804 (Core) MySQL version: mysql80-community-release-el7-1 Pre-installation Check CentOS 7 ships with MariaDB by default. Verify weather MySQL is already installed: rpm -qa | grep mysql [admin@localhost ~]$ rpm -qa | grep mysql [admin@localhost ~]$ An empty result indicates no MySQL packages are present ...

Posted on Thu, 16 Jul 2026 16:49:59 +0000 by Chiaki

Comprehensive Guide to Redis Configuration Parameters

Memory Units and General SettingsRedis configuration supports standard memory units. Units are case-insensitive, meaning 1GB, 1Gb, and 1gb are equivalent.1kb = 1024 bytes1k = 1000 bytes1mb = 1024*1024 bytes1m = 1000000 bytesBy default, Redis runs in the foreground. To run as a background daemon, modify the daemonize setting.daemonize yes pidfil ...

Posted on Tue, 14 Jul 2026 17:14:02 +0000 by hhheng

Configuring Database Connections in Spring Boot with MyBatis

Method 1: Using @Value for Property Injection Step 1: Define a properties file (e.g., jdbc.properties) jdbc.driverClassName=com.mysql.cj.jdbc.Driver jdbc.url=jdbc:mysql://127.0.0.1:3306/leyou jdbc.username=root jdbc.password=123456 Step 2: Create a configuration class using @Value package com.caicia.config; import com.alibaba.druid.pool.Druid ...

Posted on Sun, 28 Jun 2026 16:57:31 +0000 by shatteredroses