親子日記APP
|
免費申請
|
登入
mini box 迷你盒子
這裡是工程師的筆記資料.
部落格
相簿
APP日記
書籤
標籤:
mysqldump
的相關文章
瀏覽方式:
摘要列表
|
標題列表
|
全站 《mysqldump》 相關
[筆記] mysql binlog
2018
11
02
08:31
mysql binlog
用來記錄 mysqld 資料增刪改等 SQL 命令
主要用於 主從的複製 Replication
Master 的 binlog 會傳給 Slave
讓 slave 裡的資料也會如同 Master
主要設定
/etc/my.cnf
log-bin=mysql-bin #binlog 的檔名[...
繼續閱讀»
分類:
MySQL
/
留言(0)
mysqldump 一筆資料一行的匯出
2016
02
03
23:28
先說結論
mysqldump 只要多加個參數 --skip-extended-insert 就可以
例如 # mysqldump test tbl_photo -p -uroot --skip-extended-insert
不知哪一版開始
mysqldump 出來的資料變這樣,每筆都串成一行
(似乎是 5.0 起的改變?!) # mysqldump test tbl_photo -...
繼續閱讀»
分類:
MySQL
/
留言(0)