Bug #51950 | No connection to MySQL server: Cannot open selected view (dbquery) | ||
---|---|---|---|
Submitted: | 11 Mar 2010 12:49 | Modified: | 23 Jul 2010 11:53 |
Reporter: | Hermann Boeken | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench | Severity: | S2 (Serious) |
Version: | 5.2.16, 5.2.21, 5.2.22 | OS: | Windows (XP) |
Assigned to: | CPU Architecture: | Any |
[11 Mar 2010 12:49]
Hermann Boeken
[11 Mar 2010 12:55]
Hermann Boeken
When selecting the same server connection in the "Server Administration" section the following bug info is available : Exception = System.Runtime.InteropServices.SEHException Message = External component has thrown an exception. FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception. at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.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)
[11 Mar 2010 13:41]
Hermann Boeken
Correction: the mysql server I'm connecting to is version 5.0.90
[1 Apr 2010 11:26]
Susanne Ebrecht
MySQL server 5.0 is very old and unsupported. For more informations about that read: http://www.mysql.com/about/legal/lifecycle/ Please try actual server here. MySQL 5.1.45.
[1 Apr 2010 11:37]
Hermann Boeken
Even if MySQL server 5.0 is unsupported, I expect the Workbench to behave more robust, e.g. by giving an appropriate error message "MySQL server version (5.0) not supported". I'll upgrade to a more recent server version though and try again. Thanks for your support.
[7 Apr 2010 14:53]
MySQL Verification Team
Please try Workbench version 5.2.17. Thanks in advance.
[13 Apr 2010 9:40]
Hermann Boeken
Miguel, I don't understand, what you want me to test: Workbench 5.2.17 with MySQL Server 5.0 to verify my original request? Or Workbench 5.2.17 with MySQL Server 5.1?
[16 Apr 2010 15:18]
Valeriy Kravchuk
Please, check latest Workbench version, 5.2.18 today, with both 5.1.x and 5.0.x server versions, whatever they are, and inform about the results.
[16 May 2010 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[17 May 2010 11:07]
Hermann Boeken
I tested to connect to MySQL Server 5.0.90 with WB 5.2.21rc: This opens a Bug Report window with the text: MySQL Workbench has encountered a problem Nullable object must have a value We are sorry for the inconvenience but an unexpected exception has been raised by one of the MySQL Workbench modules. In order to fix this issue we would kindly ask you to file a bug report. There's still no indication that the reason for this exception might be an old MySQL server version. I don't have a MySQL server 5.1 available for testing (yet).
[3 Jun 2010 7:54]
Sveta Smirnova
Thank you for the feedback. I can not repeat described behavior. Please provide screenshots with connection settings in WB and output of SHOW GRANTS for user you are trying to connect as in Solaris. Please try latest version of WB 5.2.22 to see if this problem occasionally fixed.
[8 Jun 2010 6:49]
Hermann Boeken
Output of SHOW GRANTS (modified actual user/password/host/schema): mysql> show grants for user@dbhost; +-------------------------------------------------------------------------------------------------------------+ | Grants for user@dbhost | +-------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO 'user'@'dbhost' IDENTIFIED BY PASSWORD '907DFF608883BA5A81F9B471499C37C7FDE7BFDB5' | | GRANT SELECT, EXECUTE ON `SCHEMA`.* TO 'user'@'dbhost' | +-------------------------------------------------------------------------------------------------------------+
[8 Jun 2010 8:21]
Sveta Smirnova
Thank you for the feedback. I still can not repeat described behavior. Does schema you are connect to exist? Please also add option log-warnings=2 into MySQL server configuration file, restart it, then try to connect using WB again and send us content of MySQL server error log.
[8 Jun 2010 8:59]
Hermann Boeken
I did add the option log-warnings=2, restarted the server, tried to reconnect with WB, got the same WB error again, but the server error log stays empty.
[8 Jun 2010 9:17]
Hermann Boeken
Additional hints: 1. Yes, the schema does exist. 2. The error occurs when trying to connect via the 'SQL Development' column of WB. When I connect via the 'Server Administration' column of WB there's no problem.
[23 Jun 2010 11:53]
Susanne Ebrecht
I need to know the last commands Workbench is sending to the server. Please enable general log and let us know what are the last commands from Workbench. Also I need to know if you are using a special sql-mode.
[23 Jul 2010 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".