{"id":67,"date":"2013-10-10T12:34:31","date_gmt":"2013-10-10T06:34:31","guid":{"rendered":"https:\/\/workit.kz\/?p=67"},"modified":"2014-06-12T15:04:50","modified_gmt":"2014-06-12T09:04:50","slug":"mysql-user-db","status":"publish","type":"post","link":"https:\/\/workit.kz\/?p=67","title":{"rendered":"MySQL \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e"},"content":{"rendered":"<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u0432 MySQL \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c (\u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e root):<\/p>\r\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\r\n<pre>\r\nCREATE DATABASE database;<\/pre>\r\n<!--more--> <blockquote> <\/blockquote>\r\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\r\n<pre>\r\nCREATE USER 'user'@'localhost' IDENTIFIED BY 'password';<\/pre>\r\n<blockquote> <\/blockquote>\r\n<p>\u041d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e:<\/p>\r\n<pre>\r\nGRANT ALL PRIVILEGES ON database.* TO 'user'@'localhost';<\/pre>\r\n<blockquote> <\/blockquote>\r\n<p>\u041e\u0447\u0438\u0449\u0430\u0435\u043c \u043a\u044d\u0448:<\/p>\r\n<pre>\r\nFLUSH PRIVILEGES;<\/pre>\r\n<blockquote> <\/blockquote>","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u0432 MySQL \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c (\u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e root): \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445: CREATE DATABASE database;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2,5],"tags":[18,19,22],"_links":{"self":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/67"}],"collection":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":7,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":90,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions\/90"}],"wp:attachment":[{"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}