{"id":785,"date":"2008-04-15T01:06:57","date_gmt":"2008-04-15T06:06:57","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice"},"modified":"2008-04-15T01:07:00","modified_gmt":"2008-04-15T06:07:00","slug":"howto-mysql-and-windows-vista-to-play-nice","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice","title":{"rendered":"HOWTO: MySQL and Windows Vista to play nice"},"content":{"rendered":"<p>I first decided to try how things were in Windows Vista land, the moment I was told during a talk of mine that MySQL refused to install on Vista. I gave it a twirl (after disabling User Account Control &#8211; UAC) and found that I got a rather quaint error message from the MySQL Server Instance Config Wizard (MySQLInstanceConfig.exe) [this after it failed to start once the installer was complete]:<\/p>\n<p><tt> The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more details.<\/tt><\/p>\n<p>I hopped over to the event log (Event Viewer), and the error displayed was:<\/p>\n<p><tt>Activation context generation failed for \"C:\\Program Files\\MySQL\\MySQL Server 5.0\\bin\\MySQLInstanceConfig.exe\".Error in manifest or policy file \"C:\\Program Files\\MySQL\\MySQL Server 5.0\\bin\\MySQLInstanceConfig.exe\" on line 6. The value \"asAdministrator\" of attribute \"level\" in element \"urn:schemas-microsoft-com:asm.v1^requestedPrivileges\" is invalid.<\/tt><\/p>\n<p>I then thought, that the best solution was to launch it manually. I tried:<br \/><tt> C:\\Program Files\\MySQL\\MySQL Server 5.0\\bin\\mysqld-nt.exe<\/tt><\/p>\n<p>via cmd.exe, and lo and behold, it all just worked!<\/p>\n<p>For a more permanent solution, look at <a href=\"http:\/\/www.angusj.com\/resourcehacker\/\">Resource Hacker<\/a>, and <b>read the <a href=\"http:\/\/forums.mysql.com\/read.php?11,195569,195569#msg-195569\">instructions in this forum post<\/a><\/b>.<\/p>\n<p>It turns out, this is largely related to <a href=\"http:\/\/bugs.mysql.com\/bug.php?id=30823\">mysql#30823<\/a>. There is a problem with the software manifest, that doesn&#8217;t allow MySQLInstanceConfig.exe to run in Vista. This sadly affects MySQL 5.0.51a (refer to <a href=\"http:\/\/bugs.mysql.com\/bug.php?id=34340\">mysql#34340<\/a>), and the hope is that the next release fixes this (the documentation has already mentioned that 5.1.24-rc should have this fixed, and 6.0.x will get a push soon.)<\/p>\n<p>In other news? If you haven&#8217;t seen <a href=\"http:\/\/port25.technet.com\/archive\/2007\/03\/16\/mysql-on-windows-configuration-install.aspx\">MySQL on Windows: Configuration and Install<\/a>, take a look. Its from Microsoft&#8217;s Port25 website (i.e. the open source group within Microsoft). I was truly impressed\/shocked when I came across it. I especially like the note: <i>&#8220;This paper represents testing and documentation in a lab environment. User Account Control (UAC) is an essential security component to Windows and Microsoft does not recommend turning off UAC in production environments.&#8221;<\/i> Sorry, UAC and MySQL just do not jive (though it seems to be OK, once the installation is compelte &#8211; i.e. you can enable UAC again).<\/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\/windows\" rel=\"tag\">windows<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/bug\" rel=\"tag\">bug<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/UAC\" rel=\"tag\">UAC<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/instance%20config%20wizard\" rel=\"tag\">instance config wizard<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/resource%20hacker\" rel=\"tag\">resource hacker<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/microsoft\" rel=\"tag\">microsoft<\/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%20HOWTO%3A%20MySQL%20and%20Windows%20Vista%20to%20play%20nice&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F04%2F15%2Fhowto-mysql-and-windows-vista-to-play-nice&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=\"6eaf15564a\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-785\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?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-785\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?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-785\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?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>I first decided to try how things were in Windows Vista land, the moment I was told during a talk of mine that MySQL refused to install on Vista. I gave it a twirl (after disabling User Account Control &#8211; UAC) and found that I got a rather quaint error message from the MySQL Server [&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%20HOWTO%3A%20MySQL%20and%20Windows%20Vista%20to%20play%20nice&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F04%2F15%2Fhowto-mysql-and-windows-vista-to-play-nice&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=\"6eaf15564a\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-785\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?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-785\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?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-785\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/15\/howto-mysql-and-windows-vista-to-play-nice?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-cF","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2914,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2014\/04\/22\/ubuntu-14-04-some-mysql-ecosystem-notes","url_meta":{"origin":785,"position":0},"title":"Ubuntu 14.04 &#8211; some MySQL ecosystem notes","date":"22\/4\/2014","format":false,"excerpt":"Following my previous post on the launch, I just rolled Ubuntu 14.04 LTS on an Amazon EC2 t1.micro instance (not something you expect to run a database server on, for sure - 1 vCPU, 0.613GiB RAM). If you do an apt-cache search mysql you get 435 return result sets with\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2295,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2012\/02\/05\/replication-features-of-2011-by-sergey-petrunia","url_meta":{"origin":785,"position":1},"title":"Replication features of 2011 by Sergey Petrunia","date":"5\/2\/2012","format":false,"excerpt":"Sergey Petrunia of the\u00a0MariaDB project & Monty Program. MySQL 5.5 GA at the end of 2010. MariaDB 5.3 RC towards the end of 2011 (beta in June 2011). MySQL 5.5 is merged to Percona Server 5.5 which included semi-sync replication, slave fsync options, atuomatic relay log recovery, RBR slave type\u2026","rel":"","context":"In &quot;MariaDB&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":998,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/03\/student-reviews-contest","url_meta":{"origin":785,"position":2},"title":"Student Reviews Contest","date":"3\/9\/2008","format":false,"excerpt":"Calling all students! Here's an easy way to make USD$500 (grand prize), or USD$250 (five runners up). All you have to do is use the MySQL database (5.1) and the GlassFish application server (v2 Update Release 2) to develop a cool web application and write a review of your experience\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3296,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2016\/12\/01\/debian-and-mariadb-server","url_meta":{"origin":785,"position":3},"title":"Debian and MariaDB Server","date":"1\/12\/2016","format":false,"excerpt":"GNU\/Linux distributions matter, and Debian is one of the most popular ones out there in terms of user base. Its an interesting time as MariaDB Server becomes more divergent compared to upstream MySQL, and people go about choosing default providers of the database. The MariaDB Server original goals were to\u2026","rel":"","context":"In &quot;Distributions&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":780,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/14\/compiling-mysql-udfs-on-mac-os-x","url_meta":{"origin":785,"position":4},"title":"Compiling MySQL UDFs on Mac OS X","date":"14\/4\/2008","format":false,"excerpt":"Compiling and installing a User Defined Function for MySQL on Mac OS X seems tricky. There are installation notes, but they seem to be sparse on OS X (the comments are clues, though). I was looking through the tutorial materials for Roland's talk, and came up with what I think\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":481,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/03\/mysql-with-show-profile-and-updated-information_schema-built-from-the-community-tree","url_meta":{"origin":785,"position":5},"title":"MySQL, with SHOW PROFILE and updated INFORMATION_SCHEMA, built from the Community tree","date":"3\/3\/2007","format":false,"excerpt":"I just built mysql-5.0-community, on my T7200 with 2GB of RAM (on Fedora Core 6), and it only took a mere: real\u00a0\u00a0\u00a0 7m51.127s user\u00a0\u00a0\u00a0 3m13.836s sys\u00a0\u00a0\u00a0\u00a0 2m19.803s The obligatory make test was run, and that was also pretty quick: All 455 tests were successful. The servers were restarted 109 times\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\/785"}],"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=785"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/785\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=785"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}