MySql Workbench:必须在调用WriteToLog方法错误

时间:2015-04-23 03:54:44

标签: 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位。

请帮忙!

1 个答案:

答案 0 :(得分:1)

尝试删除文件{ "extends": "./tsconfig.json", "compilerOptions": { "module": "commonjs", "target": "es2015", "sourceMap": true } }

下次重新启动时,将重新生成文件。

对我有用。

我尝试重新安装C:\Users\Administrator\%AppData%\Roaming\Oracle\MySQL Notifier\settings.config",但没有成功。