伙计们我只是想设置我的一般日志文件设置像这里https://stackoverflow.com/questions/5441972/how-to-see-log-files-in-mysql 。
所以我把log = "testfile_log.log"添加到了my.ini中
# The MySQL server [mysqld] port= 3306 ... log_error = "mysql_error.log" log = "testfile_log.log"
但由于某种原因,MySQL服务器不再启动。 这里是日志:
8:46:14 PM [mysql] Error: MySQL shutdown unexpectedly. 8:46:14 PM [mysql] This may be due to a blocked port, missing dependencies, 8:46:14 PM [mysql] improper privileges, a crash, or a shutdown by another method. 8:46:14 PM [mysql] Press the Logs button to view error logs and check 8:46:14 PM [mysql] the Windows Event Viewer for more clues 8:46:14 PM [mysql] If you need more help, copy and post this 8:46:14 PM [mysql] entire log window on the forums
我知道它相关的log = "testfile_log.log" bcs如果我把它closures,它的工作原理。