Master configuration Find the my.cnf file Configure under [mysqld] [mysqld] server-id=1 log-bin=master-bin   Restart the service and log in to mysql Create a user to obtain the log file. mysql> CREATE USER 'sree'@'%' IDENTIFIED BY 'sree' Grant relevant permissions (copy permissions) *.* represents all tables in all libraries mysql> grant replication slave on *.* to 'sree'@'%'   Refresh permissions mysql> flush privileges mysql> show master status; | File | Position | master-bin.000004 | 120                      Slave configuration ==================== Modify the configuration file: Configure under [mysqld] [mysqld] server-id=2 #As long as it is different from the above.   Then log in to mysql mysql>  CHANGE MASTER TO     MASTER_LOG_FILE='master-bin.000004 ', #above file        MASTER_LOG_POS = 120 ; #The above position        MASTER_HOST='192.168.249.130', #The ip address of the main library         MASTER_USER = 'sree',         MASTER_PASSWORD = 'sree',  Then start slave ============ mysql> show slave status\G; see: ===  Slave_IO_Running: Yes  Slave_SQL_Running: Yes It means that it was successful.     Errors in the whole process: Slave_IO_Running: Connecting 1. Mine is the wrong host ip. 2. There are still some firewalls on the Internet that are not turned off I use centos7 to turn off the firewall: systemctl stop firewalld 3. There is also a mistake in the above-mentioned secret.   Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs This error generally occur when we clone the master to slaver. Delete auto.cnf of mysql, and then restart the service.
2021-06-29 17:08:28 2KB #MySQL #Replication #Master-Slave
1
C#写的Modbus协议主从站类库,包含源代码。实际使用过。适用于工业控制软件开发。
2021-05-21 16:10:18 5.91MB C# Modbus Master Slave
1
此软件包包括FreeModbus从栈协议和补充的主栈协议,采用的是RTU模式,主从协议栈与uC/OSIII进行的整合,并在STM32F407硬件平台上进行了移植,经过调试和测试,运行正常。
2021-04-26 20:27:39 1.09MB FreeModbus RTU Master+Slave uCOSIII
1
SPI接口是嵌入式领域应用比较广泛的接口协议,总线协议接线简单,可扩展性强。压缩包中包含了spi硬件电路的代码实现(verilog),并且有testbench仿真平台测试代码。
2021-04-24 00:58:34 18KB verilog SPI master slave
1
nrf52832主从及主从一体,采用官网代码做了少量的修改,主机采用uuid连接的例子,另一个是采用蓝牙名称连接的例子,主从一体的例子,还有一个是从机的例子,三个主机例子都能和从机对接
2021-04-23 17:50:30 28.92MB nrf528 sdk15. master slave
1
一个简易版AXI_BFM-master-slave verilog实现(包含testbech),不是很完整,但是可以参考。
2021-03-31 18:53:29 1.61MB axi axi bfm master
1
此资源为shardingsphere 调研专题使用的mysql 主从环境。需要准备docker compose环境。(仅支持mac和linux Windows自行搭建) 内容:一个master mysql docker实例,一个slave docker实例 内置3个库,mydb,mydb0,mydb1。仅开启了这三个库的主从。如果三个库主从不够用,自行配置。 使用:1.解压 2.执行build.sh
2021-03-25 17:12:20 13.12MB mysql master salve docker
1
Modbus-Master-Slave-STM32-HAL-FreeRTOS-CubeMx,同时支持Master和Slave,可运行多实例
2021-03-08 16:52:09 874KB Modbus Master Slave Freertos
1
AXI4主机从机源码对应分析: 1. 首先主机会在状态机的控制下在四个状态中跳转,分别时IDLE、INIT_WRITE、INIT_READ、INIT_COMPARE,一开始处于IDLE状态,在init_txn_pulse信号的控制下可跳转到INIT_WRITE状态。在INIT_WRITE状态,init_txn_pulse信号只控制了第一次产生start_single_burst_write信号高电平,而后面start_single_burst_write信号高电平的产生主要依靠burst_write_active信号控制
2021-02-23 19:31:49 1.7MB verilo axi4
1
淘宝购买的玩意:包括FreeModbus从栈协议和补充的主栈协议,采用RTU模式,主从协议栈与uC/OSIII进行的整合,并在STM32F407硬件平台上进行了移植,经过调试和测试,运行正常。
2021-01-28 04:00:22 1.1MB FreeModbus
1