Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查看我在 MySQl 中启用的一般日志,它运行良好。但是,查询似乎被截断了超过 1000 个字符。
这有什么关系?
您还应该更改字段类型,“参数”字段是中等文本,您应该使用以下查询将其更改为“长文本”。
ALTER TABLE `mysql`.`general_log` CHANGE `argument` `argument` LONGTEXT NOT NULL;
什么样的查询比 1000 大?
也许记录一个 BLOB 字段?