Percona
# Percona MySQL 分 支
网址
github:https://github.com/percona/percona-server
# 开源简介
Percona Server
由 领先的 MySQL咨询公司 Percona发布。 Percona Server是 一款独立的数据库产品,其可以完全 与 MySQL兼 容 ,可 以在不 更改 代 码的情 况了下 将 存 储引擎更换成XtraDB。
Percona团队
# docker-compose.yml
version: '3.7'
services:
percona:
image: percona/percona-xtradb-cluster:5.7.26
container_name: percona
restart: always
environment:
- TZ=Asia/Shanghai
- MYSQL_ROOT_PASSWORD=Percona123$
- CLUSTER_NAME=pxc
- XTRABACKUP_PASSWORD=Percona123
ports:
- 3306:3306
volumes:
- percona_mysql:/var/lib/mysql
- percona_log:/var/log/mysql
- percona_data:/data
volumes:
percona_mysql:
percona_log:
percona_data:
# deploy.sh
#!\bin\bash
docker-compose up -d