{"id":673,"date":"2007-11-27T21:29:18","date_gmt":"2007-11-28T02:29:18","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine"},"modified":"2007-11-27T21:29:21","modified_gmt":"2007-11-28T02:29:21","slug":"workbench-beta-adventure-on-linux-with-monowine","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine","title":{"rendered":"Workbench beta adventure on Linux with Mono\/WINE"},"content":{"rendered":"<p><a href=\"http:\/\/dev.mysql.com\/workbench\/\">MySQL Workbench<\/a> has a <a href=\"http:\/\/dev.mysql.com\/downloads\/workbench\/5.0.html\">beta<\/a> out! No idea why its version 5.0.9, but its highly exciting. This software existed before, but this is quite unlike its predecessor. One snag for me is that it is Windows-only at the moment, with Linux and OS X versions to follow suit.<\/p>\n<p>However, due to excitement, I decided to try running it on Linux, <i>anyway<\/i>. <\/p>\n<p>Seeing that it is a .NET application, I thought I&#8217;d pass it through <a href=\"http:\/\/www.mono-project.com\/Moma\">MoMA<\/a> (the migration analyser). Everything passed, so I got excited. Running <tt>mono MySQLWorkbench.exe<\/tt> however, led me to a failure:<br \/><tt>** ERROR **: Method '&lt;Module&gt;:&lt;CrtImplementationDetails&gt;.DoDllLanguageSupportValidation ()' in assembly '\/home\/byte\/Downloads\/MySQL Workbench 5.0.9 OSS Beta\/wb.wr.dll' contains native code and mono can't run it. The assembly was probably created by Managed C++.<\/tt><\/p>\n<p>So I hopped onto #workbench on Freenode, where the MySQL Workbench crew <a href=\"http:\/\/dev.mysql.com\/workbench\/?page_id=16\">hang out<\/a>, and spoke with Mike Zinner (team lead for this software). He mentioned to me that it probably wouldn&#8217;t work, as there are some 3rd-party FOSS controls that rely on Win32 API calls. Immediately, I think of WINE.<\/p>\n<p>Running it against WINE, I get an error basically telling me I need Mono for Windows:<br \/><tt>fixme:actctx:parse_manifest_buffer root element is L\"asmv1:assembly\", not &lt;assembly&gt;<br \/>install the Windows version of Mono to run .NET executables<\/tt><\/p>\n<div align=\"center\"><a href=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/workbench-failure-in-wine.png\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/workbench-failure-in-wine_s.png\" data-recalc-dims=\"1\" \/><\/a><br \/><i><b>Workbench fails on me in WINE<\/p>\n<p><\/b><\/i><\/div>\n<p>Downloaded mono-1.2.5.2-gtksharp-2.10.2-win32-0.exe, installed it via WINE, and then made another attempt at running Workbench, only to see a similar failure, this time in GUI form.<\/p>\n<p>A little disappointed, I think the next option is to run Workbench in a virtualized Windows environment. <a href=\"http:\/\/kvm.qumranet.com\/kvmwiki\">KVM<\/a> immediately came to mind, with only one minor snag &#8211; while its full CPU hardware virtualization, it doesn&#8217;t virtualize the graphic layer as well (it just emulates a graphics card, like it does for pretty much every device). Windows will see a Cirrus Logic card, from ages ago. This means, no OpenGL support, which Workbench really needs (otherwise, it drops down to software rendering, and becomes much slower).<\/p>\n<p>However, there is hope. Check out <a href=\"http:\/\/www.cs.toronto.edu\/%7Eandreslc\/xen-gl\/\">VMGL<\/a>, which is OpenGL Hardware 3D Acceleration for Virtual Machines. This should work with Xen and KVM, so I&#8217;ll give it a twirl, and see how it goes. <\/p>\n<p>If you&#8217;re on a Mac, I am told that VMWare Fusion does not do OpenGL, so you&#8217;re out of luck there. However, Parallels does &#8211; so let that be your virtualization option of choice, if you&#8217;re on an Intel Mac.<\/p>\n<p>Next stop, to go out and buy Windows Vista &#8211; wish me luck!<\/p>\n<p>Technorati Tags: <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/mysql\" rel=\"tag\">mysql<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/workbench\" rel=\"tag\">workbench<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/mysql%20workbench\" rel=\"tag\">mysql workbench<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/moma\" rel=\"tag\">moma<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/.net\" rel=\"tag\">.net<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/mono\" rel=\"tag\">mono<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/wine\" rel=\"tag\">wine<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/opengl\" rel=\"tag\">opengl<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/virtualization\" rel=\"tag\">virtualization<\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Workbench%20beta%20adventure%20on%20Linux%20with%20Mono%2FWINE&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2007%2F11%2F27%2Fworkbench-beta-adventure-on-linux-with-monowine&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"e56eb38d81\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-673\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-673\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-673\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>MySQL Workbench has a beta out! No idea why its version 5.0.9, but its highly exciting. This software existed before, but this is quite unlike its predecessor. One snag for me is that it is Windows-only at the moment, with Linux and OS X versions to follow suit. However, due to excitement, I decided to [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Workbench%20beta%20adventure%20on%20Linux%20with%20Mono%2FWINE&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2007%2F11%2F27%2Fworkbench-beta-adventure-on-linux-with-monowine&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"e56eb38d81\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-673\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-673\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-673\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/27\/workbench-beta-adventure-on-linux-with-monowine?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[23],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-aR","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1045,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/20\/workbench-on-linux","url_meta":{"origin":673,"position":0},"title":"Workbench on Linux","date":"20\/9\/2008","format":false,"excerpt":"I had the pleasure of sitting right across the MySQL GUI Tools Team, and decided to try my hand at Workbench (Workbench for Linux, that is). Congratulations to the entire team for the great work! I am excited. First up, the things you need on Ubuntu 8.04 (I created a\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"Workbench on Ubuntu 8.04","src":"https:\/\/i0.wp.com\/farm4.static.flickr.com\/3193\/2872316874_93fa71a8b3.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1054,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/21\/workbench-511-alpha-on-fedora-9","url_meta":{"origin":673,"position":1},"title":"workbench-5.1.1-alpha on Fedora 9","date":"21\/9\/2008","format":false,"excerpt":"So, you want to compile Workbench for Linux, on Fedora 9. You need to install the following packages: autoconf automake libtool libzip-devel libxml2-devel libsigc++20-devel libglade2-devel gtkmm24-devel mesa-libGLU-devel mysql-libs mysql mysql-devel uuid-devel lua-devel glitz-devel glitz-glx-devel pixman-devel pcre-devel libgnome-devel gtk+-devel pango-devel cairo I feel I'm being too liberal with dependencies, but I'm\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":788,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/keynote-with-marten-mickos-at-mysql-conference-2008","url_meta":{"origin":673,"position":2},"title":"Keynote with Marten Mickos at MySQL Conference 2008","date":"15\/4\/2008","format":false,"excerpt":"Live blogging from Marten Mickos' (SVP Database Group) keynote at the MySQL Conference and Expo 2008.Why did Sun acquire us?The culture and the vision. Biggest match with Sun. \"Network is the computer\" and \"Best Online Database\". Great affinity.Its a 1 billion dollar vote for the LAMP stack.Integrating better with OpenOffice.org,\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":860,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/07\/16\/our-booth-is-yours-sun-at-oscon","url_meta":{"origin":673,"position":3},"title":"Our booth is yours&#8230; Sun at OSCON","date":"16\/7\/2008","format":false,"excerpt":"Its worth noting that MySQL will have a big presence at OSCON 2008. All this, thanks to Sun, as Sun's a fairly big sponsor (Platinum Sponsor), and we've got a humongous booth! There are booth talks, that you must attend! They range from getting started with the MySQL Community, MySQL\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":764,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/06\/mysql-on-leopard-os-x-105-prefpane-fixed","url_meta":{"origin":673,"position":4},"title":"MySQL on Leopard OS X 10.5 PrefPane fixed!","date":"6\/4\/2008","format":false,"excerpt":"A few months ago, I wrote about the issues you will face with installing MySQL on OS X 10.5, Leopard. I am pleased to inform everyone, that this problem has been fixed!The bug in question, mysql#28854, clearly stated that the problem was with the PrefPane. On Valentine's Day 2008, Alfredo\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":853,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/07\/07\/malaysia-university-days","url_meta":{"origin":673,"position":5},"title":"Malaysia University Days","date":"7\/7\/2008","format":false,"excerpt":"Here's a packed schedule. There will be a Sun crew visiting these universities between 16-17 July 2008. Will you be there? Where you'll meet the rock stars: Wednesday, 16 July 2008, 9am - noon: Multimedia University, Cyberjaya Wednesday, 16 July 2008, 2pm - 5pm: Universiti Teknologi MARA, Shah Alam Thursday,\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/673"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=673"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/673\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=673"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}