Description:
Attempting to add a MySQL service or instance in MySQL notifier presents a 'High Severity Error' message. The service/instance is added but never updates and cannot be controlled.
==============MySQLNotifier.log=============
MySqlNotifier Critical: 1 : Unhandled ExceptionMethod not found: 'Void MySql.Data.MySqlClient.MySqlConnectionStringBuilder.set_SslKeyFile(System.String)'.
DateTime=2017-07-14T23:11:34.0236756Z
Timestamp=358282428266
Callstack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at System.Diagnostics.TraceEventCache.get_Callstack()
at System.Diagnostics.TraceListener.WriteFooter(TraceEventCache eventCache)
at System.Diagnostics.TraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at MySQL.Utility.Classes.MySQL.MySqlSourceTrace.WriteToLog(String message, SourceLevels messageType, Int32 messageId)
at MySql.Notifier.Classes.Program.MySqlNotifierErrorHandler(String errorTitle, String errorMessage, Boolean showErrorDialog, Exception exception, SourceLevels errorLevel)
at MySql.Notifier.Classes.Program.MySQLNotifierThreadExceptionEventHandler(Object sender, ThreadExceptionEventArgs args)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at MySql.Notifier.Classes.Notifier.manageServicesDialogItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at MySql.Notifier.Classes.Program.Main(String[] args)
How to repeat:
Add a connection to a remote MySQL instance in MySQL workbench, tunneled over SSH, not using SSL. Verify connection is successful in MySQL workbench. Open MySQL notifiers 'Manage Monitored Items' window. On either the 'Services' or 'Instances' tab, click 'Add...', select the tunneled connection and click 'Ok'. The high severity error message is displayed. The monitored items list will not have the connection listed. Close the managed monitored items window, and force refresh MySQL notifier. Reopen the managed monitored items window and check the services or instances tab for the connection, it will be listed, but the status will always remain as 'Unknown'. No notifications will ever be displayed.
Suggested fix:
No known fixes or workarounds available. Googling the error yields no results.