安裝owncloud出現:Error while trying to create admin user: An exception occurred while executing


安裝owncloud出現:Error while trying to create admin user: An exception occurred while executing

 

1.安裝owncloud出現如下報錯


Error while trying to create admin user: An exception occurred while executing ‘INSERT INTO oc_migrations (app,version) SELECT ?,? FROM oc_migrations WHERE app = ? AND version = ? HAVING COUNT(*) = 0’ with params [“core”, “13000Date20170705121758”, “core”, “13000Date20170705121758”]: SQLSTATE[HY000]: General error: 1665 Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.

 

2.解決方法

mysql> SET GLOBAL binlog_format = 'MIXED';

原因:Mysql不能存儲二進制數據

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM