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: ERROR: Option 'debug=d:t:o,/var/log/list.log' used, but is disabled
如何在mysql中启用--debug?如果可能,无需更改 my.conf。
我找到了以下解决方案
代替
mysql --debug .......
我愿意
mysql ............... <<EOF 2>>/var/log/list.log
将错误和警告保存到文件中