參考文檔:https://blog.csdn.net/xlgen157387/article/details/51331244/
需要兩個服務器
tp5主從數據庫設置讀寫分離文檔
https://blog.csdn.net/qq_26182959/article/details/78466320
查詢數據庫操作日誌命令:
SHOW VARIABLES LIKE "general_log%"; SET GLOBAL general_log = 'ON';
MySQL5.6配置同步複製的新方法以及常見問題的解決方法:
https://www.linuxidc.com/Linux/2014-10/107980.htm
mysql查看binlog日誌內容:
https://blog.csdn.net/nuli888/article/details/52106910
主從同步出現一下錯誤:Slave_IO_Running: Connecting
https://blog.csdn.net/i_bruce/article/details/17055135
composer安裝鏈接https://blog.csdn.net/sanbingyutuoniao123/article/details/70314651