{"id":40,"date":"2013-10-10T06:31:23","date_gmt":"2013-10-10T06:31:23","guid":{"rendered":"http:\/\/23.94.4.61\/wordpress\/?p=40"},"modified":"2013-10-10T06:31:23","modified_gmt":"2013-10-10T06:31:23","slug":"creare-un-database-mysql-e-il-relativo-utente","status":"publish","type":"post","link":"https:\/\/napolifrancesco.it\/?p=40","title":{"rendered":"Creare\/Eliminare un database mysql e il relativo utente"},"content":{"rendered":"<p># mysql -u root -p<\/p>\n<p>password di root mysql<\/p>\n<p>per <strong>creare il database e l&#8217;utente<\/strong>:<\/p>\n<p># CREATE DATABASE nomedb;<\/p>\n<p># GRANT ALL PRIVILEGES ON nomedb.* TO utente@localhost IDENTIFIED BY &#8216;passwdutente&#8217;;<\/p>\n<p># FLUSH PRIVILEGES;<\/p>\n<p>per <strong>rimuovere il database<\/strong>:<\/p>\n<p># DROP DATABASE nomedb;<\/p>\n<p># FLUSH PRIVILEGES;<\/p>\n<p>per <strong>rimuovere solo l&#8217;utente<\/strong>:<\/p>\n<p># DROP USER utente;<\/p>\n<p># FLUSH PRIVILEGES;<\/p>\n","protected":false},"excerpt":{"rendered":"<p># mysql -u root -p password di root mysql per creare il database e l&#8217;utente: # CREATE DATABASE nomedb; # GRANT ALL PRIVILEGES ON nomedb.* TO utente@localhost IDENTIFIED BY &#8216;passwdutente&#8217;; # FLUSH PRIVILEGES; per rimuovere il database: # DROP DATABASE nomedb; # FLUSH PRIVILEGES; per rimuovere solo l&#8217;utente: # DROP USER utente; # FLUSH PRIVILEGES;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":0,"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/napolifrancesco.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}