{"id":2386,"date":"2011-04-17T13:33:18","date_gmt":"2011-04-17T13:33:18","guid":{"rendered":""},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T22:00:00","slug":"Jare","status":"publish","type":"post","link":"https:\/\/iguanademos.com\/Jare\/wp\/?p=2386","title":{"rendered":"MySQL"},"content":{"rendered":"<p>In the previous post, I made references to MySQL but didn&#8217;t say anything about a quick local setup. So here&#8217;s what I did for mine:<\/p>\n<p>&#8211; Download MySQL binaries from <a href=\"http:\/\/dev.mysql.com\/downloads\/mysql\/\">http:\/\/dev.mysql.com\/downloads\/mysql\/<\/a>. I chose the huge 64-bit Zip archive.<br \/>&#8211; I unzipped the <b>\/bin\/<\/b>, <b>\/data\/<\/b>, <b>\/docs\/<\/b> and <b>\/share\/english\/<\/b> folders into my destination MySQL folder. Then I deleted all the *.pdb files.<br \/>&#8211; Start the server via <b>start mysqld<\/b>. You can later stop it with <b>mysqladmin.exe shutdown -u root<\/b>.<br \/>&#8211; By default it has a root user without password, and an anonymous user.<br \/>&#8211; Run the client with <b>mysql -u root<\/b>.<br \/>&#8211; Delete the anonymous user or it will mess up with your ability to connect using other users you create: <b>DELETE FROM mysql.user WHERE user=&#8221;; FLUSH PRIVILEGES; <\/b><br \/>&#8211; Create your database and your development user: <b>CREATE DATABASE MyDatabase; GRANT SELECT, CREATE, DELETE, UPDATE, INSERT ON MyDatabase.* to MyUser@&#8217;%&#8217; IDENTIFIED BY &quot;MyPassword&quot;;<\/b><br \/>&#8211; Now you can connect as your development user with <b>mysql -u MyUser -pMyPassword<\/b>.<br \/>&#8211; I recommend downloading MySQL Workbench from <a href=\"http:\/\/dev.mysql.com\/downloads\/workbench\/\">http:\/\/dev.mysql.com\/downloads\/workbench\/<\/a> to perform database maintenance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the previous post, I made references to MySQL but didn&#8217;t say anything about a quick local setup. So here&#8217;s what I did for mine: &#8211; Download MySQL binaries from http:\/\/dev.mysql.com\/downloads\/mysql\/. I chose the huge 64-bit Zip archive.&#8211; I unzipped &hellip; <a href=\"https:\/\/iguanademos.com\/Jare\/wp\/?p=2386\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2386","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2386"}],"version-history":[{"count":0,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2386\/revisions"}],"wp:attachment":[{"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iguanademos.com\/Jare\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}