MySQL主从复制(基于 5.6)

MySQL主从复制(基于 5.6) https://dev.mysql.com/doc/refman/5.6/en/replication.html https://dev.mysql.com/doc/refman/5.6/en/faqs-replication.html https://dev.mysql.com/doc/refman/5.6/en/replication-howto.html

MySQL存储过程样例

//删除存储过程 DROP PROCEDURE IF EXISTS makeInsureAmt; //创建存储过程 DELIMITER // CREATE PROCEDURE makeInsureAmt(IN arg INT,IN arg2 INT) BEGIN DECLARE var INT; SET var=arg; WHILE var < arg2 DO INSERT INTO cic