Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器版mariadb 主从复制实现 - pay #2

Open
qiaofeng1227 opened this issue Mar 8, 2023 · 1 comment
Open

容器版mariadb 主从复制实现 - pay #2

qiaofeng1227 opened this issue Mar 8, 2023 · 1 comment

Comments

@qiaofeng1227
Copy link
Contributor

容器版本的mariadb主从复制:
mysql容器版和宿主机安装只是在命令和文件路径有所差异:

  1. 使用mysql命令:sudo docker exec -it mariadb mysql -u mysqluser-p yourpassword
  2. 文件路径位置
    MariaDB 数据目录: /data/apps/mariadb/data/mariadb_data
    MariaDB 配置文件: /data/apps/mariadb/src/conf.d/mysql.cnf
    其他主从复制的操作和宿主机一样。
@qiaofeng1227 qiaofeng1227 reopened this Apr 17, 2023
@qiaofeng1227 qiaofeng1227 changed the title 容器版mariadb 主从复制实现 - pay ¥150 容器版mariadb 主从复制实现 - pay Jun 13, 2023
@qiaofeng1227
Copy link
Contributor Author

@chendelin1982 chendelin1982 transferred this issue from Websoft9/docker-library Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants