MySQL Workbench on Ubuntu 11.10

October 17, 2011 – 2:57 pm by Maksym Yehorov

We have seen many reports about broken build and freezes which are experienced on Ubuntu 11.10. While the build fix was pretty simple, the freezes took us a bit more time to hunt them down.

The point is that MySQL Workbench relies on glib’s idle signals which are emitted when Gtk’s main event loop has nothing to do. In Ubuntu 11.10, for some reason, for certain types of windows we use, these idle signals are not emitted cause window drawing code constantly reschedules idle redraws.

The bug report which is related to the freezes and compilation problems is at http://bugs.mysql.com/62347

Here is a link to the patch: is http://bugs.mysql.com/file.php?id=17639

Maksym Yehorov

  1. 15 Responses to “MySQL Workbench on Ubuntu 11.10”

  2. For those who use the 11.04 deb on 11.10, if your workbench freezes on the splash screen, just type alt+f4 and the workbench will popup.

    By JoKoT3 on Oct 17, 2011

  3. So when will there be available DEB file for 11.10? I have to install MySQL GUI tools since I could not use WB

    By HT on Oct 17, 2011

  4. I can not compile the source code with patch!
    ubuntu 11.10

    src/template.cc:103:1: error: ‘TemplateId’ does not name a type
    src/template.cc: In function ‘void ctemplate::{anonymous}::WriteOneHeaderEntry(std::string*, const string&, const string&)':
    src/template.cc:735:13: error: ‘TemplateId’ does not name a type
    src/template.cc:740:20: error: ‘id’ was not declared in this scope
    make[4]: *** [libctemplate_wb_la-template.lo] Error 1
    make[4]: se sale del directorio «/home/rockerox/Descargas/mysql-workbench-gpl-5.2.35-src/ext/ctemplate/ctemplate-src»
    make[3]: *** [all] Error 2
    make[3]: se sale del directorio «/home/rockerox/Descargas/mysql-workbench-gpl-5.2.35-src/ext/ctemplate»
    make[2]: *** [all-recursive] Error 1
    make[2]: se sale del directorio «/home/rockerox/Descargas/mysql-workbench-gpl-5.2.35-src/ext»
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio «/home/rockerox/Descargas/mysql-workbench-gpl-5.2.35-src»
    make: *** [all] Error 2

    By rockerox on Oct 17, 2011

  5. works perfectly. Thank you very much for that patch.

    By Andy on Oct 18, 2011

  6. When I close the application at the hanging splash, it continues, but… then when I open an existing connection, it hangs again at open the sql editor.
    This program is now useless to me, which is a pitty.

    By Marcelloh on Oct 20, 2011

  7. One of the trackbacks (in Spanish) has a link to a file that someone has compiled for Oneiric that includes the patch above: https://docs.google.com/leaf?id=0B0q-WlRMDV-UMjYyZDgzZmUtNzk5OS00ODQ2LWJlZDQtYTMwZTgxZGU2MWJm&hl=es

    By Steve on Oct 22, 2011

  8. @Marcelloh
    When freezing at the Connection Opnening Splash Screen, just hit Alt+F4 again. After that, the SQL Editor opens, and your are able to work your databases.

    By FreebirthOne on Oct 25, 2011

  9. I’ve build the source code with the patch for the i386 platform. You can download the resulting deb package from my blog:

    http://lotomas.net/2011/11/07/mysql-workbench-5-2-35-1-for-ubuntu-11-10-i386-deb-package/

    Thanks for the patch!!

    By Tomàs Reverter on Nov 7, 2011

  10. @Steve: Thanks, that works on 64bit architecutres.

    By Ned on Nov 10, 2011

  11. Works just fine for me, thank you a lot

    By Mozart on Nov 24, 2011

  12. Now http://files.lotomas.net/mysql-workbench-gpl-5.2.35-1.i386.ubuntu-oneiric.deb
    Thanks!

    By Jr on Dec 21, 2011

  13. Tomas thank you so much this was really helpful!

    I got mysql workbench installed from their site but the gui was all messed up missing different panes and options.

    Yours works perfect!

    By Jonathan on Jan 25, 2012

  1. 3 Trackback(s)

  2. Oct 18, 2011: MySQL Workbench on Ubuntu 11.10 | MySQL | Syngu
  3. Oct 18, 2011: Mysql-worckbench en Ubuntu 11.10 [Solucionado] « www.rockerox.net
  4. Sep 25, 2012: MySQL Workbench 5.2.35-1 for Ubuntu 11.10 i386 package | lo tomàs avança

Post a Comment


four + = 10