{"id":969,"date":"2017-03-02T09:40:53","date_gmt":"2017-03-02T09:40:53","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=969"},"modified":"2017-03-02T09:40:53","modified_gmt":"2017-03-02T09:40:53","slug":"creating-new-user-permissions-mysql","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2017\/03\/02\/creating-new-user-permissions-mysql\/","title":{"rendered":"Creating a New user with permissions for MySQL"},"content":{"rendered":"<p>As it says on the tin<\/p>\n<p><strong>Create the user<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmysql&gt; create user mysqlusergoeshere@localhost identified by 'somepasswordcangoheremakeitsecure';\r\nQuery OK, 0 rows affected (0.03 sec)\r\n<\/pre>\n<p><strong> Create the Permissions for the user <\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmysql&gt; GRANT ALL PRIVILEGES ON database_name.* to mysqlusergoeshere@localhost;\r\nQuery OK, 0 rows affected (0.01 sec)\r\n<\/pre>\n<p>Simples.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As it says on the tin Create the user mysql&gt; create user mysqlusergoeshere@localhost identified by &#8216;somepasswordcangoheremakeitsecure&#8217;; Query OK, 0 rows affected (0.03 sec) Create the Permissions for the user mysql&gt; GRANT ALL PRIVILEGES ON database_name.* to mysqlusergoeshere@localhost; Query OK, 0 &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2017\/03\/02\/creating-new-user-permissions-mysql\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,61,20],"tags":[],"class_list":["post-969","post","type-post","status-publish","format-standard","hentry","category-mysql","category-rackspace","category-webhosting"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=969"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/969\/revisions"}],"predecessor-version":[{"id":970,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/969\/revisions\/970"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}