原文链接:http://blog.csdn.net/zhangshufei8001/article/details/54410555
使用MySQL启动时,提示了一个错误!
High Severity Error
Unhandled Exception
Root element is missing.
点击show details按钮显示
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.ReadStartElement(String name)
at MySQL.Utility.Classes.CustomSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection)
at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
at System.Configuration.SettingsBase.get_Item(String propertyName)
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
at MySql.Notifier.Properties.Settings.get_AutoAddPattern()
at MySql.Notifier.Classes.Program.ChangeAutoAddPatternDefaultValue()
at MySql.Notifier.Classes.Program.Main(String[] args)
原因我不清楚
解决办法是:删除C:\Users\Administrator\AppData\Roaming\Oracle\MySQL Notifier文件夹的所有文件,重新启动就好了