MySql 工作台 : Log file path must be defined before calling the WriteToLog method error

标签 mysql windows-7 mysql-workbench

我有 MySQl WorkBench 6.1 CE,每当我的系统启动时它都会抛出这个错误:

 at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at MySQL.Utility.Classes.MySQLWorkbench.MySqlWorkbenchConnectionCollection.LoadXmlFile(Boolean saving)
   at MySQL.Utility.Classes.MySQLWorkbench.MySqlWorkbenchConnectionCollection.Load()
   at MySQL.Utility.Classes.MySQLWorkbench.MySqlWorkbench.LoadExternalConnections()
   at MySQL.Utility.Classes.MySQLWorkbench.MySqlWorkbench.set_ExternalApplicationConnectionsFilePath(String value)
   at MySql.Notifier.Notifier.InitializeMySqlWorkbenchStaticSettings()
   at MySql.Notifier.Notifier..ctor()
   at MySql.Notifier.NotifierApplicationContext..ctor()
Log file path must be defined before calling the WriteToLog method 

我的系统有 MySQL Notifier 1.1.5,但它没有任何文件夹“Oracle”或 settings.config,所以下面的结果对我没有帮助。

https://serverfault.com/questions/554869/mysql-startup-error-root-element-missing MySQL Startup Error - Root element missing .

操作系统为Win7 64位。

请帮忙!

最佳答案

尝试删除文件 C:\Users\Administrator\%AppData%\Roaming\Oracle\MySQL Notifier\settings.config"

该文件将在您下次重新启动时重新生成。

它对我有用。

我尝试重新安装 MySQL Notifier 但没有成功。

关于MySql 工作台 : Log file path must be defined before calling the WriteToLog method error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29813356/

相关文章:

api - 如何检测Win7家庭高级版、Win7专业版、Win7企业版或Win7旗舰版操作系统?

PHP 比较两个日期时间范围

php - 如何将两个变量组合到另一个变量中?

html - 修复以防止 Firefox 突出显示选择选项集

mysql - Flask SQL-Alchemy 查询为我的数据库中存在的数据返回空值。可能是什么原因

mysql - 或者在列中设置 Null 值

mysql - 在 MySQL Workbench 中导入数据库时​​出错

php - 在 MYSQL 中使用 like 语句而不考虑顺序

MySQL 获取所选操作的持续时间

c# - 在 Windows 7 事件日志中,什么是 "Source"?