伙计们,我只是想设置我的常规日志文件,就像这里一样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
我知道它与 bcs 有关,log = "testfile_log.log"
如果我把它拿掉,它就会起作用。