Bug #22262 mysql binary requirment not obvious
Submitted: 12 Sep 2006 11:55 Modified: 12 Sep 2006 22:48
Reporter: Andreas Påhlsson (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.3beta OS:Linux (Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: mysql binary, MySQL Text Console

[12 Sep 2006 11:55] Andreas Påhlsson
Description:
When invoking the Tools->MySQL Text Console menu without having a mysql binary installed the terminal window pops up and disappears again as quick as it got there. No error message is displayed.

How to repeat:
Install MySQL Query Browser on a freshly installed system.
Run and invoke the Tools->MySQL Text Console menu.
Watch the window flash by.

Suggested fix:
This can be fixed in several ways.
* Grey out the menu item if no executable can be found.
* Display an error message if the executable isn't found when invoking the menu item. (Prefered.)
* Document the requirement of the mysql binary.
[12 Sep 2006 22:48] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html

The menu is now greyed out. 

ps: if gnome-terminal is not installed, it will fallback to xterm.