Skip to content

Commit 3cd4c5e

Browse files
committed
docs: update all references from libmysql to MariaDB Connector/C
Update dependency references across documentation to reflect the migration from libmysql (GPL-2.0) to MariaDB Connector/C (LGPL-2.1).
1 parent f78febc commit 3cd4c5e

12 files changed

Lines changed: 44 additions & 44 deletions

README.kr.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Database System Project는 프로덕션 수준의 엔터프라이즈급 C++20 da
5151
| 백엔드 | 버전 | 선택적 패키지 |
5252
|--------|------|--------------|
5353
| PostgreSQL | 12+ | `libpq-dev` |
54-
| MySQL | 8.0+ | `libmysqlclient-dev` |
54+
| MySQL | 8.0+ | `libmariadb-dev` (MariaDB Connector/C) |
5555
| SQLite | 3.35+ | `libsqlite3-dev` |
5656
| MongoDB | 5.0+ | `libmongoc-dev` |
5757
| Redis | 6.0+ | `libhiredis-dev` |
@@ -757,7 +757,7 @@ cd database_system
757757

758758
# Install database dependencies via vcpkg (optional)
759759
vcpkg install libpqxx # PostgreSQL
760-
vcpkg install libmysql # MySQL
760+
vcpkg install libmariadb # MySQL (MariaDB Connector/C)
761761
vcpkg install sqlite3 # SQLite
762762
vcpkg install mongo-cxx-driver # MongoDB
763763
vcpkg install hiredis # Redis
@@ -1104,8 +1104,8 @@ ninja
11041104
# PostgreSQL support
11051105
vcpkg install libpqxx openssl
11061106

1107-
# MySQL support
1108-
vcpkg install libmysql
1107+
# MySQL support (via MariaDB Connector/C)
1108+
vcpkg install libmariadb
11091109

11101110
# SQLite support
11111111
vcpkg install sqlite3

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ A modern C++20 database abstraction layer providing unified access to multiple d
6868
| Backend | Version | Optional Package |
6969
|---------|---------|------------------|
7070
| PostgreSQL | 12+ | `libpq-dev` |
71-
| MySQL | 8.0+ | `libmysqlclient-dev` |
71+
| MySQL | 8.0+ | `libmariadb-dev` (MariaDB Connector/C) |
7272
| SQLite | 3.35+ | `libsqlite3-dev` |
7373
| MongoDB | 5.0+ | `libmongoc-dev` |
7474
| Redis | 6.0+ | `libhiredis-dev` |
@@ -352,7 +352,7 @@ scripts\dependency.bat # Windows
352352
scripts\build.bat # Windows
353353

354354
# Option 2: Manual CMake build
355-
vcpkg install libpqxx libmysql sqlite3 mongo-cxx-driver hiredis
355+
vcpkg install libpqxx libmariadb sqlite3 mongo-cxx-driver hiredis
356356

357357
mkdir build && cd build
358358
cmake .. -DUSE_POSTGRESQL=ON -DUSE_SQLITE=ON

docs/FEATURES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ kcenon.database
16701670
16711671
**Optional** (for specific backends):
16721672
- libpqxx (PostgreSQL)
1673-
- libmysql (MySQL)
1673+
- MariaDB Connector/C (MySQL)
16741674
- sqlite3 (SQLite)
16751675
- mongo-cxx-driver (MongoDB)
16761676
- hiredis (Redis)

docs/PRODUCTION_QUALITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ jobs:
322322
- uses: actions/checkout@v3
323323

324324
- name: Install dependencies
325-
run: vcpkg install libpqxx libmysql sqlite3 mongo-cxx-driver hiredis
325+
run: vcpkg install libpqxx libmariadb sqlite3 mongo-cxx-driver hiredis
326326

327327
- name: Configure CMake
328328
run: |

docs/PROJECT_STRUCTURE.kr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ endif()
511511
| 데이터베이스 | 라이브러리 | 버전 | vcpkg 패키지 |
512512
|----------|---------|---------|---------------|
513513
| PostgreSQL | libpqxx | 7.7+ | `libpqxx` |
514-
| MySQL | libmysql | 8.0+ | `libmysql` |
514+
| MySQL | libmariadb | 3.x+ | `libmariadb` |
515515
| SQLite | sqlite3 | 3.40+ | `sqlite3` |
516516
| MongoDB | mongo-cxx-driver | 3.7+ | `mongo-cxx-driver` |
517517
| Redis | hiredis | 1.1+ | `hiredis` |
@@ -531,7 +531,7 @@ endif()
531531
**vcpkg 사용**:
532532
```bash
533533
# 데이터베이스 라이브러리 설치
534-
vcpkg install libpqxx openssl libmysql sqlite3 mongo-cxx-driver hiredis
534+
vcpkg install libpqxx openssl libmariadb sqlite3 mongo-cxx-driver hiredis
535535

536536
# 선택적 시스템 설치 (가능한 경우)
537537
vcpkg install kcenon-common-system kcenon-thread-system

docs/PROJECT_STRUCTURE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ database_system/
193193
- Stored procedures
194194

195195
**Dependencies**:
196-
- libmysql (MySQL C client library)
196+
- MariaDB Connector/C (MySQL-compatible C client library, LGPL-2.1)
197197
- OpenSSL (for TLS/SSL)
198198

199199
#### SQLite Backend
@@ -696,7 +696,7 @@ endif()
696696
| Database | Library | Version | vcpkg Package |
697697
|----------|---------|---------|---------------|
698698
| PostgreSQL | libpqxx | 7.7+ | `libpqxx` |
699-
| MySQL | libmysql | 8.0+ | `libmysql` |
699+
| MySQL | libmariadb | 3.x+ | `libmariadb` |
700700
| SQLite | sqlite3 | 3.40+ | `sqlite3` |
701701
| MongoDB | mongo-cxx-driver | 3.7+ | `mongo-cxx-driver` |
702702
| Redis | hiredis | 1.1+ | `hiredis` |
@@ -716,7 +716,7 @@ endif()
716716
**Using vcpkg**:
717717
```bash
718718
# Install database libraries
719-
vcpkg install libpqxx openssl libmysql sqlite3 mongo-cxx-driver hiredis
719+
vcpkg install libpqxx openssl libmariadb sqlite3 mongo-cxx-driver hiredis
720720

721721
# Install optional systems (if available)
722722
vcpkg install kcenon-common-system kcenon-thread-system

docs/analysis/BACKEND_USAGE_ANALYSIS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This document analyzes the usage patterns and maintenance considerations for Mon
5757
{
5858
"features": {
5959
"postgresql": { "dependencies": ["libpq", "libpqxx", "openssl"] },
60-
"mysql": { "dependencies": ["libmysql"] },
60+
"mysql": { "dependencies": ["libmariadb"] },
6161
"sqlite": { "dependencies": ["sqlite3"] }
6262
// MongoDB and Redis: NOT DEFINED
6363
}

docs/contributing/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Before contributing, ensure you have:
4646
- Git
4747
- **Database-specific prerequisites**:
4848
- PostgreSQL development libraries (libpqxx, libpq, OpenSSL)
49-
- MySQL development libraries (libmysql or mysql-connector-cpp)
49+
- MySQL development libraries (MariaDB Connector/C, LGPL-2.1)
5050
- SQLite development library (sqlite3)
5151
- MongoDB C++ driver (mongocxx, bsoncxx)
5252
- Redis client library (hiredis)
@@ -100,7 +100,7 @@ cd vcpkg
100100
bootstrap-vcpkg.bat # Windows
101101

102102
# Install all database dependencies
103-
vcpkg install libpqxx openssl libmysql sqlite3 mongo-cxx-driver hiredis
103+
vcpkg install libpqxx openssl libmariadb sqlite3 mongo-cxx-driver hiredis
104104
```
105105

106106
#### Manual Installation
@@ -110,7 +110,7 @@ vcpkg install libpqxx openssl libmysql sqlite3 mongo-cxx-driver hiredis
110110
sudo apt-get update
111111
sudo apt-get install \
112112
libpqxx-dev libpq-dev libssl-dev \
113-
libmysqlclient-dev \
113+
libmariadb-dev \
114114
libsqlite3-dev \
115115
libmongocxx-dev libbsoncxx-dev \
116116
libhiredis-dev

docs/guides/BUILD_GUIDE.kr.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
데이터베이스 지원은 선택 사항이며 테스트를 위해 비활성화할 수 있습니다:
3232

3333
- **PostgreSQL**: libpqxx, libpq, OpenSSL 3.0+
34-
- **MySQL**: libmysql 또는 mysql-connector-cpp
34+
- **MySQL**: MariaDB Connector/C (LGPL-2.1, MySQL 와이어 호환)
3535
- **SQLite**: sqlite3
3636
- **MongoDB**: mongo-cxx-driver (mongocxx, bsoncxx)
3737
- **Redis**: hiredis
@@ -80,7 +80,7 @@ ninja
8080
| 옵션 | 기본값 | 설명 |
8181
|--------|---------|-------------|
8282
| `USE_POSTGRESQL` | ON | PostgreSQL 지원 활성화 (libpqxx 필요) |
83-
| `USE_MYSQL` | OFF | MySQL 지원 활성화 (libmysql 필요) |
83+
| `USE_MYSQL` | OFF | MySQL 지원 활성화 (MariaDB Connector/C 필요) |
8484
| `USE_SQLITE` | OFF | SQLite 지원 활성화 (sqlite3 필요) |
8585
| `USE_MONGODB` | OFF | MongoDB 지원 활성화 (mongocxx 필요) - **실험적** |
8686
| `USE_REDIS` | OFF | Redis 지원 활성화 (hiredis 필요) - **실험적** |
@@ -212,8 +212,8 @@ cd vcpkg
212212
# PostgreSQL 지원
213213
vcpkg install libpqxx openssl
214214

215-
# MySQL 지원
216-
vcpkg install libmysql
215+
# MySQL 지원 (MariaDB Connector/C 사용)
216+
vcpkg install libmariadb
217217

218218
# SQLite 지원
219219
vcpkg install sqlite3
@@ -225,7 +225,7 @@ vcpkg install mongo-cxx-driver
225225
vcpkg install hiredis
226226

227227
# 한 번에 모두 설치
228-
vcpkg install libpqxx openssl libmysql sqlite3 mongo-cxx-driver hiredis
228+
vcpkg install libpqxx openssl libmariadb sqlite3 mongo-cxx-driver hiredis
229229
```
230230

231231
#### vcpkg로 빌드
@@ -248,8 +248,8 @@ cmake .. \
248248
# PostgreSQL
249249
sudo apt-get install libpqxx-dev libpq-dev libssl-dev
250250

251-
# MySQL
252-
sudo apt-get install libmysqlclient-dev
251+
# MySQL (MariaDB Connector/C 사용)
252+
sudo apt-get install libmariadb-dev
253253

254254
# SQLite
255255
sudo apt-get install libsqlite3-dev
@@ -267,8 +267,8 @@ sudo apt-get install libhiredis-dev
267267
# PostgreSQL
268268
sudo dnf install libpqxx-devel postgresql-devel openssl-devel
269269

270-
# MySQL
271-
sudo dnf install mysql-devel
270+
# MySQL (MariaDB Connector/C 사용)
271+
sudo dnf install mariadb-connector-c-devel
272272

273273
# SQLite
274274
sudo dnf install sqlite-devel
@@ -286,8 +286,8 @@ sudo dnf install hiredis-devel
286286
# PostgreSQL
287287
brew install libpqxx postgresql openssl
288288

289-
# MySQL
290-
brew install mysql
289+
# MySQL (MariaDB Connector/C 사용)
290+
brew install mariadb-connector-c
291291

292292
# SQLite
293293
brew install sqlite
@@ -662,7 +662,7 @@ RUN apt-get update && apt-get install -y \
662662
ninja-build \
663663
git \
664664
libpqxx-dev \
665-
libmysqlclient-dev \
665+
libmariadb-dev \
666666
libsqlite3-dev \
667667
&& rm -rf /var/lib/apt/lists/*
668668

docs/guides/BUILD_GUIDE.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Comprehensive guide for building the Database System with multi-backend support,
3131
Database support is optional and can be disabled for testing:
3232

3333
- **PostgreSQL**: libpqxx, libpq, OpenSSL 3.0+
34-
- **MySQL**: libmysql or mysql-connector-cpp
34+
- **MySQL**: MariaDB Connector/C (LGPL-2.1, wire-compatible with MySQL)
3535
- **SQLite**: sqlite3
3636
- **MongoDB**: mongo-cxx-driver (mongocxx, bsoncxx)
3737
- **Redis**: hiredis
@@ -80,7 +80,7 @@ ninja
8080
| Option | Default | Description |
8181
|--------|---------|-------------|
8282
| `USE_POSTGRESQL` | ON | Enable PostgreSQL support (requires libpqxx) |
83-
| `USE_MYSQL` | OFF | Enable MySQL support (requires libmysql) |
83+
| `USE_MYSQL` | OFF | Enable MySQL support (requires MariaDB Connector/C) |
8484
| `USE_SQLITE` | OFF | Enable SQLite support (requires sqlite3) |
8585
| `USE_MONGODB` | OFF | Enable MongoDB support (requires mongocxx) - **Experimental** |
8686
| `USE_REDIS` | OFF | Enable Redis support (requires hiredis) - **Experimental** |
@@ -212,8 +212,8 @@ cd vcpkg
212212
# PostgreSQL support
213213
vcpkg install libpqxx openssl
214214

215-
# MySQL support
216-
vcpkg install libmysql
215+
# MySQL support (via MariaDB Connector/C)
216+
vcpkg install libmariadb
217217

218218
# SQLite support
219219
vcpkg install sqlite3
@@ -225,7 +225,7 @@ vcpkg install mongo-cxx-driver
225225
vcpkg install hiredis
226226

227227
# Install all at once
228-
vcpkg install libpqxx openssl libmysql sqlite3 mongo-cxx-driver hiredis
228+
vcpkg install libpqxx openssl libmariadb sqlite3 mongo-cxx-driver hiredis
229229
```
230230

231231
#### Build with vcpkg
@@ -248,8 +248,8 @@ cmake .. \
248248
# PostgreSQL
249249
sudo apt-get install libpqxx-dev libpq-dev libssl-dev
250250

251-
# MySQL
252-
sudo apt-get install libmysqlclient-dev
251+
# MySQL (via MariaDB Connector/C)
252+
sudo apt-get install libmariadb-dev
253253

254254
# SQLite
255255
sudo apt-get install libsqlite3-dev
@@ -267,8 +267,8 @@ sudo apt-get install libhiredis-dev
267267
# PostgreSQL
268268
sudo dnf install libpqxx-devel postgresql-devel openssl-devel
269269

270-
# MySQL
271-
sudo dnf install mysql-devel
270+
# MySQL (via MariaDB Connector/C)
271+
sudo dnf install mariadb-connector-c-devel
272272

273273
# SQLite
274274
sudo dnf install sqlite-devel
@@ -286,8 +286,8 @@ sudo dnf install hiredis-devel
286286
# PostgreSQL
287287
brew install libpqxx postgresql openssl
288288

289-
# MySQL
290-
brew install mysql
289+
# MySQL (via MariaDB Connector/C)
290+
brew install mariadb-connector-c
291291

292292
# SQLite
293293
brew install sqlite
@@ -662,7 +662,7 @@ RUN apt-get update && apt-get install -y \
662662
ninja-build \
663663
git \
664664
libpqxx-dev \
665-
libmysqlclient-dev \
665+
libmariadb-dev \
666666
libsqlite3-dev \
667667
&& rm -rf /var/lib/apt/lists/*
668668

0 commit comments

Comments
 (0)