Назад | Перейти на главную страницу

Ошибка инициализации сервера mysql, если я добавляю log = «testfile_log.log»

Ребята, я просто пытаюсь настроить свой общий файл журнала, как здесь 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 если сниму, работает.