{"id":2964,"date":"2015-10-31T19:14:11","date_gmt":"2015-10-31T15:14:11","guid":{"rendered":"http:\/\/nayarweb.com\/blog\/?p=2964"},"modified":"2017-04-16T21:56:53","modified_gmt":"2017-04-16T17:56:53","slug":"installing-mysql-server-on-mac-os-x","status":"publish","type":"post","link":"https:\/\/nayarweb.com\/blog\/2015\/installing-mysql-server-on-mac-os-x\/","title":{"rendered":"Installing MySQL server on Mac OS X"},"content":{"rendered":"<p>1. Install brew<\/p>\n<pre>\r\n$ ruby -e \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)\"\r\n<\/pre>\n<p>2. Install MySQL from brew<\/p>\n<pre>\r\n$ brew install mysql\r\n<\/pre>\n<p>3. Launch service using launchctl.<\/p>\n<pre>\r\n$ mysql.server start\r\n<\/pre>\n<p>4. Connect to MySQL shell<\/p>\n<pre>mysql -u root<\/pre>\n<p>As compared to Ubuntu counterpart, root mysql account is not password protected. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Install brew $ ruby -e &#8220;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)&#8221; 2. Install MySQL from brew $ brew install mysql 3. Launch service using launchctl. $ mysql.server start 4. Connect to MySQL shell mysql -u root As compared to Ubuntu counterpart, root mysql account is not password protected.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[210],"tags":[216],"class_list":["post-2964","post","type-post","status-publish","format-standard","hentry","category-technology","tag-mac"],"_links":{"self":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/comments?post=2964"}],"version-history":[{"count":3,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2964\/revisions"}],"predecessor-version":[{"id":2968,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/posts\/2964\/revisions\/2968"}],"wp:attachment":[{"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/media?parent=2964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/categories?post=2964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nayarweb.com\/blog\/wp-json\/wp\/v2\/tags?post=2964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}