我正在为我的Web应用程序使用Windows服务器。实际上,日志文件太重,我想重置该文件。我已经启动控制台以刷新在mysql doc上写的日志。当我键入此mysqladmin flush-logs
我收到一个错误:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'mysql
admin flush_logs' at line 1
如何刷新日志?
最佳答案
您可能需要验证:
mysqladmin flush-logs -u[user_name] -p[password]