marco/simple-eloquent 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marco/simple-eloquent

Composer 安装命令:

composer require marco/simple-eloquent

包简介

This is a simplified version of the Eloquent ⚡️

README 文档

README

Build Status Coverage Status Scrutinizer Latest Stable Version License

Installation

Use the following command to install

composer require marco/simple-eloquent 

Application step

Really don't have too much time delay in the docker mysql on the mirror, so I gave in, manual, please...

Running with docker-compos

Step1: Start the container

docker-compose up --build -d

Step2: Connected to the master, and run the following command to create a user used to synchronize data

GRANT REPLICATION SLAVE ON *.* to 'backup'@'%' identified by '123456';

Step3: See master status, remember the File, the value of the Position, if you don't have to check the data, please check the first and the second step, the configuration problems. I found out that master-bin.000017, 312

show master status;

Step4: Connect the slave, run the following command to connect the master

change master to master_host='smart_master',master_user='backup',master_password='123456', master_log_file='master-bin.000004',master_log_pos=320;

Step5: Start the slave

start slave;

Step6: Check the slave status.

show slave status\G

If you see Waiting for master send event indicates success, you are now in the main library on the modification, synchronization to from the library.

About

This is a simplified version of the Eloquent

Correct the mistakes

If you find something wrong, you can initiate a issueor pull request,I will correct it in time

Contributors

Marco

License

MIT

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固