{"id":598,"date":"2010-05-17T12:12:42","date_gmt":"2010-05-17T20:12:42","guid":{"rendered":"http:\/\/messofpottage.com\/blog\/?p=598"},"modified":"2010-05-17T12:12:42","modified_gmt":"2010-05-17T20:12:42","slug":"mysql-reinstallation-notes","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2010\/05\/17\/mysql-reinstallation-notes\/","title":{"rendered":"MySQL reinstallation notes"},"content":{"rendered":"<p>The other day I tried to create a view of one of my tables, and I got some weird message (<code>not able to fork lock file PID on \/tmp<\/code>, or something like that, that appealed to the vestigial <em>*ix<\/em> programmer lobe in my brain).<\/p>\n<p>Anyway, I believed what I read on the internet and did all kinds of things to fix it, all unsuccessfully. I wound up deleting my entire MySQL installation and reinstalling. I did that several times, in fact, because there&#8217;s no MySQL uninstaller, just lore distributed across various people&#8217;s blogs. I found <a href=\"http:\/\/forums.mysql.com\/read.php?11,75256,255853#msg-255853\">this post<\/a> helpful, but what I eventually used was <a href=\"http:\/\/tomkeur.net\/39\/how-to-remove-mysql-completely-mac-os-x-leopard.html\">this one<\/a>.<\/p>\n<p>But I have a little bit of wisdom of my own to contribute, and it is as follows:<\/p>\n<p>Soon after installing MySQL, I created a file <code>.my.cnf<\/code> in my <code>$HOME<\/code> directory. It looks like this:<\/p>\n<blockquote>\n<pre>[client]\n# The following password will be sent to all standard MySQL clients\npassword=\"abc123\"<\/pre>\n<\/blockquote>\n<p>(where <em>abc123<\/em> is the real password, of course.)<\/p>\n<p>Long story short: get rid of that file while you&#8217;re installing and testing the initial installation of MySQL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The other day I tried to create a view of one of my tables, and I got some weird message (not able to fork lock file PID on \/tmp, or something like that, that appealed to the vestigial *ix programmer lobe in my brain). Anyway, I believed what I read on the internet and did [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52],"tags":[],"class_list":["post-598","post","type-post","status-publish","format-standard","hentry","category-technology"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-9E","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=598"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/598\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}