{"id":213,"date":"2010-05-17T21:42:20","date_gmt":"2010-05-18T04:42:20","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=213"},"modified":"2010-05-17T21:42:20","modified_gmt":"2010-05-18T04:42:20","slug":"installing-mysql-5x","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2010\/05\/17\/installing-mysql-5x\/","title":{"rendered":"Installing Mysql 5.x"},"content":{"rendered":"<p>The commands are given below. Though this was used to install mysql 5.5.4 , it is applicable to older versions also (and perhaps newer ones as well).<\/p>\n<div style=\"font-size: 12px; color: #ffff66; overflow: auto; background-color: #0080ff;padding:2px;\">\n<p>cd \/usr\/ports\/databases\/mysql55-server\/<br \/>\nmake install clean<br \/>\n\/usr\/local\/bin\/mysql_install_db<br \/>\nchown -R mysql \/var\/db\/mysql\/<br \/>\nchgrp -R mysql \/var\/db\/mysql\/<br \/>\n\/usr\/local\/bin\/mysqld_safe \u2013user=mysql &amp;<br \/>\n\/usr\/local\/bin\/mysqladmin -u root password newpassword<\/p><\/div>\n<p>Edit \/etc\/rc.conf to start mysql server at startup by putting the line<\/p>\n<div style=\"font-size: 12px; color: #ffff66; overflow: auto; background-color: #0080ff;padding:2px;\">\n<p>mysql_enable=&#8221;YES&#8221;<\/p><\/div>\n<p>After this, restart FreeBSD.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>The commands are given below. Though this was used to install mysql 5.5.4 , it is applicable to older versions also (and perhaps newer ones <a class=\"mh-excerpt-more\" href=\"https:\/\/truelogic.org\/wordpress\/2010\/05\/17\/installing-mysql-5x\/\" title=\"Installing Mysql 5.x\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[36,127,149,186,257],"class_list":["post-213","post","type-post","status-publish","format-standard","hentry","category-freebsd","tag-amit","tag-freebsd-2","tag-install","tag-mysql","tag-truelogic"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=213"}],"version-history":[{"count":0,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}