我有 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/