mysql err錯誤提示You need to use --log-bin to make --binlog-form
打開mysql運行日志 WIN-*.err
[Warning] You need to use --log-bin to make --binlog-format work.
出現(xiàn)此錯誤的原因是 你注釋掉了
/etc/my.cnf 文件中的
log-bin=mysql-bin ,但是沒有注釋掉binlog_format 這條
解決辦法:
編輯my.cnf文件,將binlog_format 這條注釋掉.
摘要片段:
# Replication Master Server (default)# binary logging is required for replication#log-bin=mysql-bin
# binary logging format - mixed recommended#binlog_format=mixed
前面加個#就可以了,運行無錯誤了。
如果有需要可以將#刪除就可以了
把#號去掉。 如果沒這幾項, 則復(fù)制進去加上就OK
下面是其它網(wǎng)友的補充安裝jira,MYSQL5.1后出現(xiàn)錯誤 Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'
一查原來是innodb和binlog不兼容引起的。修改my.ini :
#binlog_format=mixed
把注釋#號去掉,重啟mysql, 就好了 如果無法啟動 , 會報
You need to use --log-bin to make --binlog-format work.
那就
#log-bin=mysql-bin
#log-slow-queries=slowquery.log
#long_query_time=3
#binlog_format=mixed
到此這篇關(guān)于mysql err錯誤提示You need to use --log-bin to make --binlog-format work.的文章就介紹到這了,更多相關(guān)mysql log-bin內(nèi)容請搜索好吧啦網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持好吧啦網(wǎng)!
相關(guān)文章:
1. DB2 9(Viper)快速入門2. Microsoft Office Access隱藏和顯示字段的方法3. How to access eclipse workspace?4. Access創(chuàng)建一個簡單MIS管理系統(tǒng)5. SQL Server數(shù)據(jù)庫連接查詢和子查詢實戰(zhàn)案例6. 關(guān)于SQL server中字段值為null的查詢7. 關(guān)于Sql server數(shù)據(jù)庫日志滿的快速解決辦法8. Microsoft Office Access凍結(jié)字段的方法9. SQL Server自動生成日期加數(shù)字的序列號10. SQL語句中的ON DUPLICATE KEY UPDATE使用
