{"id":38,"date":"2007-11-13T09:29:00","date_gmt":"2007-11-13T14:29:00","guid":{"rendered":"http:\/\/www.rajatswarup.com\/blog\/?p=38"},"modified":"2010-02-10T23:48:12","modified_gmt":"2010-02-11T04:48:12","slug":"paimei-and-mysql-error-eax_deref-default-value","status":"publish","type":"post","link":"https:\/\/www.rajatswarup.com\/blog\/2007\/11\/13\/paimei-and-mysql-error-eax_deref-default-value\/","title":{"rendered":"PaiMei and MySQL error &#8211; eax_deref default value"},"content":{"rendered":"<p>I was playing with PaiMei and trying to get some initial stuff working on <a href=\"http:\/\/www.openrce.org\/downloads\/details\/208\/PaiMei\">Pai Mei Reverse Engineering framework<\/a> by Pedram Amini.<br \/>It was a smooth ride until the following steps:<br \/>1. Install MySQL<br \/>2. Install wxPython<br \/>3. Install GDE and uDraw<\/p>\n<p>There was a slight problem in the __install_requirements.py file that it would always look at C:\\Program Files for the files whereas my files were in S:\\Program Files.<br \/>Either way a small change from C to S in the __install_requirements.py did the trick.  Thereafter, when I ran __setup_mysql.py script I got the following error:<a onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\" href=\"http:\/\/bp0.blogger.com\/_Zs_sRguDrYk\/RzlxHKDJjrI\/AAAAAAAAACY\/7zYMsHNv4PQ\/s1600-h\/paimei-error.JPG\"><img decoding=\"async\" style=\"margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;\" src=\"http:\/\/bp0.blogger.com\/_Zs_sRguDrYk\/RzlxHKDJjrI\/AAAAAAAAACY\/7zYMsHNv4PQ\/s320\/paimei-error.JPG\" alt=\"\" id=\"BLOGGER_PHOTO_ID_5132257618135977650\" border=\"0\" \/><\/a><\/p>\n<div style=\"text-align: left;\"><span style=\"font-family:courier new;\">  _mysql_exceptions.OperationalError: (1101, &#8220;BLOB\/TEXT column &#8216;eax_deref&#8217; can&#8217;t have a default value&#8221;)<\/span><\/div>\n<div style=\"text-align: center;\"><\/div>\n<p>Seems like MySQL should not be running in &#8220;strict&#8221; mode while you run this script.  I got this information from the following link:<br \/><a href=\"http:\/\/paimei.openrce.org:8000\/ticket\/5\">http:\/\/paimei.openrce.org:8000\/ticket\/5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was playing with PaiMei and trying to get some initial stuff working on Pai Mei Reverse Engineering framework by Pedram Amini.It was a smooth ride until the following steps:1. Install MySQL2. Install wxPython3. Install GDE and uDraw There was a slight problem in the __install_requirements.py file that it would always look at C:\\Program Files [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[230],"tags":[229,313,312,311],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-howto","tag-error","tag-exploit","tag-fuzzing","tag-paimei"],"_links":{"self":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":1,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rajatswarup.com\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}