{"id":1275,"date":"2016-06-20T22:48:53","date_gmt":"2016-06-20T22:48:53","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1275"},"modified":"2018-09-17T15:53:38","modified_gmt":"2018-09-17T15:53:38","slug":"setting-up-mysql-for-freeradius","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/setting-up-mysql-for-freeradius\/","title":{"rendered":"Setting up MySQL for FreeRadius"},"content":{"rendered":"<p>Install Mysql<\/p>\n<pre>yum install mariadb mariadb-client mariadb-server freeradius-mysql<\/pre>\n<p>Setup MySQL database.<\/p>\n<pre>mysql -u root -p\r\nCREATE DATABASE radius;\r\nGRANT ALL ON radius.* TO radius@localhost IDENTIFIED BY \"RadiusPassword\";\r\nexit<\/pre>\n<p>Import the schema.sql file into the db.<\/p>\n<pre>mysql -u radius -p radius &lt; \/etc\/raddb\/mods-config\/sql\/main\/mysql\/schema.sql<\/pre>\n<p>Should be good to go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Mysql yum install mariadb mariadb-client mariadb-server freeradius-mysql Setup MySQL database. mysql -u root -p CREATE DATABASE radius; GRANT ALL ON radius.* TO radius@localhost IDENTIFIED BY &#8220;RadiusPassword&#8221;; exit Import the schema.sql file into the db. mysql -u radius -p radius &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/setting-up-mysql-for-freeradius\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,4,24,3,135],"tags":[285,7,282,284],"class_list":["post-1275","post","type-post","status-publish","format-standard","hentry","category-centos-linux","category-command-line","category-fedora-2","category-linux","category-mysql","tag-freeradius","tag-linux-2","tag-mariadb","tag-mysq"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1275"}],"version-history":[{"count":5,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1275\/revisions"}],"predecessor-version":[{"id":2144,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1275\/revisions\/2144"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}