{"id":14480,"date":"2024-01-04T16:11:10","date_gmt":"2024-01-04T12:41:10","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=14480"},"modified":"2024-01-04T16:11:10","modified_gmt":"2024-01-04T12:41:10","slug":"how-to-create-a-new-user-and-grant-permissions-in-mysql","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/ja\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/","title":{"rendered":"MySQL\u3067\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h2 id=\"%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1-%d8%ac%d8%af%db%8c%d8%af-%d9%88-%d8%a7%d8%b1%d8%a7%d8%a6%d9%87-%d9%85%d8%ac%d9%88%d8%b2-%d8%af%d8%b1-mysql\"><strong>MySQL\u3067\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5<\/strong><\/h2>\n<p style=\"text-align: justify;\"><strong>\u5c0e\u5165<\/strong><\/p>\n<p style=\"text-align: justify;\">MySQL\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002LAMP\u30b9\u30bf\u30c3\u30af\uff08Linux\u3001Apache\u3001MySQL\u3001PHP\u306e\u7565\uff09\u306e\u4e00\u90e8\u3068\u3057\u3066\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u306e\u8a18\u4e8b\u306e\u57f7\u7b46\u6642\u70b9\u3067\u306f\u3001\u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3059\u3002.<\/p>\n<p style=\"text-align: justify;\">\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001\u65b0\u3057\u3044 MySQL \u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u3055\u307e\u3056\u307e\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n<h4 id=\"%d9%be%db%8c%d8%b4-%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\" style=\"text-align: justify;\"><strong>\u524d\u63d0\u6761\u4ef6<\/strong><\/h4>\n<p style=\"text-align: justify;\">\u3053\u306e\u30ac\u30a4\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304cUbuntu 20.04\u3092\u5b9f\u884c\u3059\u308b\u4eee\u60f3\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u8aac\u660e\u3059\u308b\u539f\u5247\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u306b\u95a2\u4fc2\u306a\u304f\u9069\u7528\u3055\u308c\u307e\u3059\u3002.<\/p>\n<p style=\"text-align: justify;\">MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305a\u3001\u81ea\u5206\u3067\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u30ac\u30a4\u30c9\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u95a2\u4fc2\u306a\u304f\u3001\u65b0\u3057\u3044MySQL\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u624b\u9806\u306f\u901a\u5e38\u540c\u3058\u3067\u3059\u3002.<\/p>\n<h3 id=\"%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%db%8c%da%a9-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1-%d8%ac%d8%af%db%8c%d8%af\" style=\"text-align: justify;\"><strong>\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001MySQL \u306f\u30e6\u30fc\u30b6\u30fc \u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 <strong>\u6839<\/strong> \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u7ba1\u7406\u306b\u4f7f\u7528\u3067\u304d\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30e6\u30fc\u30b6\u30fc\u306fMySQL\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u5b8c\u5168\u306a\u6a29\u9650\u3092\u6301\u3061\u3001\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001\u30c6\u30fc\u30d6\u30eb\u3001\u30e6\u30fc\u30b6\u30fc\u306a\u3069\u3092\u5b8c\u5168\u306b\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u7ba1\u7406\u6a5f\u80fd\u4ee5\u5916\u3067\u306f\u3053\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u306a\u3044\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u3053\u306e\u624b\u9806\u3067\u306f\u3001MySQL\u306e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n<p style=\"text-align: justify;\">MySQL 5.7\u4ee5\u964d\u3092\u5b9f\u884c\u3057\u3066\u3044\u308bUbuntu\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001MySQL\u306e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u306f\u306a\u304fauth_socket\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u306f\u3001MySQL\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u8d77\u52d5\u3059\u308b\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u3001\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3055\u308c\u305fMySQL\u30e6\u30fc\u30b6\u30fc\u540d\u304c\u4e00\u81f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001MySQL\u306e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001mysql\u30b3\u30de\u30f3\u30c9\u306e\u524d\u306bsudo\u3092\u4ed8\u3051\u3066\u3001Ubuntu\u306e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3067\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">$ sudo mysql<\/code><\/pre>\n<p style=\"text-align: justify;\"><strong>\u062a\u0648\u062c\u0647:<\/strong> \u0627\u06af\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0631\u06cc\u0634\u0647 MySQL \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0628\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u067e\u0648\u0633\u062a\u0647 MySQL \u0628\u0627\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u062f\u06cc\u06af\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u06a9\u0644\u0627\u06cc\u0646\u062a MySQL \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u06a9\u0627\u0631\u0628\u0631 \u0645\u0639\u0645\u0648\u0644\u06cc \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0634\u0645\u0627 \u0641\u0642\u0637 \u0628\u0627 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0628\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0635\u062d\u06cc\u062d\u060c \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0645\u062f\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0647 \u062f\u0633\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0648\u0631\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">$ mysql -u root -p<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0628\u0647 \u0627\u0639\u0644\u0627\u0646 MySQL \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0628\u0627 \u0639\u0628\u0627\u0631\u062a CREATE USER \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u0627\u06cc\u0646\u0647\u0627 \u0627\u0632 \u0627\u06cc\u0646 \u0646\u062d\u0648 \u06a9\u0644\u06cc \u067e\u06cc\u0631\u0648\u06cc \u0645\u06cc \u06a9\u0646\u0646\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\"><span>mysql&gt; <\/span>CREATE USER 'username'@'host' IDENTIFIED WITH authentication_plugin BY 'password';<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0628\u0639\u062f \u0627\u0632 CREATE USER \u06cc\u06a9 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0645\u0634\u062e\u0635 \u0645\u06cc \u06a9\u0646\u06cc\u062f. \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 \u067e\u0633 \u0627\u0632 \u0622\u0646 \u06cc\u06a9 \u0639\u0644\u0627\u0645\u062a @ \u0648 \u0633\u067e\u0633 \u0646\u0627\u0645 \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0627\u0632 \u0622\u0646 \u0645\u062a\u0635\u0644 \u0645\u06cc \u0634\u0648\u062f\u060c \u0645\u06cc \u0622\u06cc\u062f. \u0627\u06af\u0631 \u0641\u0642\u0637 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u0627\u0632 \u0633\u0631\u0648\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062d\u0644\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f localhost \u0631\u0627 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u06cc\u062f. \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0648 \u0645\u06cc\u0632\u0628\u0627\u0646 \u062f\u0631 \u06cc\u06a9 \u0646\u0642\u0644 \u0642\u0648\u0644 \u0647\u0645\u06cc\u0634\u0647 \u0636\u0631\u0648\u0631\u06cc \u0646\u06cc\u0633\u062a\u060c \u0627\u0645\u0627 \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062e\u0637\u0627\u0647\u0627 \u06a9\u0645\u06a9 \u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0647\u0646\u06af\u0627\u0645 \u0627\u0646\u062a\u062e\u0627\u0628 \u0627\u0641\u0632\u0648\u0646\u0647 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u06a9\u0627\u0631\u0628\u0631\u060c \u0686\u0646\u062f\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u062f\u0627\u0631\u06cc\u062f. \u0627\u0641\u0632\u0648\u0646\u0647 auth_socket \u06a9\u0647 \u0642\u0628\u0644\u0627 \u0630\u06a9\u0631 \u0634\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0631\u0627\u062d\u062a \u0628\u0627\u0634\u062f\u060c \u0632\u06cc\u0631\u0627 \u0627\u0645\u0646\u06cc\u062a \u0642\u0648\u06cc \u0631\u0627 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0639\u062a\u0628\u0631 \u0628\u0631\u0627\u06cc \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc \u06a9\u0646\u062f. \u0627\u0645\u0627 \u0627\u0632 \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0631\u0627\u0647 \u062f\u0648\u0631 \u0646\u06cc\u0632 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc \u06a9\u0646\u062f\u060c \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u0646\u06cc\u0627\u0632 \u0628\u0647 \u062a\u0639\u0627\u0645\u0644 \u0628\u0627 MySQL \u062f\u0627\u0631\u0646\u062f\u060c \u06a9\u0627\u0631 \u0631\u0627 \u067e\u06cc\u0686\u06cc\u062f\u0647 \u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u062e\u0634 WITH authentication_plugin \u0627\u0632 \u0646\u062d\u0648 \u0631\u0627 \u06a9\u0627\u0645\u0644\u0627\u064b \u06a9\u0646\u0627\u0631 \u0628\u06af\u0630\u0627\u0631\u06cc\u062f \u062a\u0627 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627 \u0627\u0641\u0632\u0648\u0646\u0647 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 MySQL\u060c \u06a9\u0647 \u060c caching_sha2_password \u0646\u0627\u0645 \u062f\u0627\u0631\u062f \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u06a9\u0646\u062f. \u0645\u0633\u062a\u0646\u062f\u0627\u062a MySQL \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0627\u0645\u0646\u06cc\u062a\u06cc \u0642\u0648\u06cc\u060c \u0627\u06cc\u0646 \u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0648\u0627\u0631\u062f \u0634\u0648\u0646\u062f\u060c \u062a\u0648\u0635\u06cc\u0647 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631\u06cc \u06a9\u0647 \u0628\u0627 caching_sha2_password \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0645\u06cc \u06a9\u0646\u062f\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 <code><mark>sammy<\/mark><\/code><span>\u00a0<\/span>\u0631\u0627 \u0628\u0647 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0648 <code><mark>password<\/mark><\/code><span>\u00a0<\/span> \u062f\u0644\u062e\u0648\u0627\u0647 \u062e\u0648\u062f \u0628\u0647 \u06cc\u06a9 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0642\u0648\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code><span>mysql&gt; <\/span>CREATE USER 'sammy'@'localhost' IDENTIFIED BY 'password';<\/code><\/pre>\n<p style=\"text-align: justify;\"><span style=\"color: #008000;\"><strong>\u062a\u0648\u062c\u0647:<\/strong> \u06cc\u06a9 \u0645\u0634\u06a9\u0644 \u0634\u0646\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u062f\u0631 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0646\u0633\u062e\u0647 \u0647\u0627\u06cc PHP \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627\u0639\u062b \u0627\u06cc\u062c\u0627\u062f \u0645\u0634\u06a9\u0644 \u062f\u0631 caching_sha2_password \u0645\u06cc \u0634\u0648\u062f. \u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0627 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 PHP \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f &#8211; \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 phpMyAdmin &#8211; \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0627 \u0627\u0641\u0632\u0648\u0646\u0647 mysql_native_password \u0642\u062f\u06cc\u0645\u06cc\u200c\u062a\u0631\u060c \u0647\u0631\u0686\u0646\u062f \u0647\u0646\u0648\u0632 \u0627\u0645\u0646\u060c \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u06a9\u0646\u062f:<\/span><\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code><span>mysql&gt; <\/span>CREATE USER 'sammy'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';<\/code><\/pre>\n<p style=\"text-align: justify;\"><span style=\"color: #008000;\">\u0627\u06af\u0631 \u0645\u0637\u0645\u0626\u0646 \u0646\u06cc\u0633\u062a\u06cc\u062f\u060c \u0647\u0645\u06cc\u0634\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0627 caching_sha2_plugin \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0633\u067e\u0633 \u0628\u0627 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0622\u0646 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/span><\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code><span>mysql&gt; <\/span>ALTER USER 'sammy'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';<\/code><\/pre>\n<p style=\"text-align: justify;\">\u067e\u0633 \u0627\u0632 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u062e\u0648\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0645\u0646\u0627\u0633\u0628 \u0631\u0627 \u0628\u0647 \u0622\u0646\u0647\u0627 \u0628\u062f\u0647\u06cc\u062f.<\/p>\n<h3 id=\"%d8%a7%d8%b9%d8%b7%d8%a7%db%8c-%d9%85%d8%ac%d9%88%d8%b2%d9%87%d8%a7%db%8c-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1\" style=\"text-align: justify;\"><strong>\u0627\u0639\u0637\u0627\u06cc \u0645\u062c\u0648\u0632\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631<\/strong><\/h3>\n<p style=\"text-align: justify;\">\u0646\u062d\u0648 \u06a9\u0644\u06cc \u0628\u0631\u0627\u06cc \u0627\u0639\u0637\u0627\u06cc \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u06a9\u0627\u0631\u0628\u0631 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\" style=\"text-align: justify;\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code>mysql&gt; GRANT PRIVILEGE ON database.table TO 'username'@'host';<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">\u0645\u0642\u062f\u0627\u0631 PRIVILEGE \u062f\u0631 \u0627\u06cc\u0646 \u0646\u062d\u0648 \u0645\u062b\u0627\u0644\u060c \u0645\u0634\u062e\u0635 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0645\u062c\u0627\u0632 \u0627\u0633\u062a \u0686\u0647 \u0627\u0642\u062f\u0627\u0645\u0627\u062a\u06cc \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648 \u062c\u062f\u0648\u0644 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u062c\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0628\u0627 \u06a9\u0627\u0645\u0627\u060c \u0686\u0646\u062f\u06cc\u0646 \u0627\u0645\u062a\u06cc\u0627\u0632 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0628\u0647 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0627\u062e\u062a\u0635\u0627\u0635 \u062f\u0647\u06cc\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0633\u062a\u0627\u0631\u0647 (*) \u0628\u0647 \u062c\u0627\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648 \u0646\u0627\u0645 \u062c\u062f\u0648\u0644\u060c \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u062c\u0647\u0627\u0646\u06cc \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0627\u0639\u0637\u0627 \u06a9\u0646\u06cc\u062f. \u062f\u0631 SQL\u060c \u0633\u062a\u0627\u0631\u0647 \u0647\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u062e\u0627\u0635\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0646 &#8220;<span>all<\/span>&#8221; \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627 \u06cc\u0627 \u062c\u062f\u0627\u0648\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0631\u0627\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0646\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u062c\u0647\u0627\u0646\u06cc \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0648 \u0631\u0647\u0627 \u06a9\u0631\u062f\u0646 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u062f\u0627\u062f\u0647\u060c \u062c\u062f\u0627\u0648\u0644 \u0648 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0642\u062f\u0631\u062a \u062f\u0631\u062c\u060c \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0648 \u062d\u0630\u0641 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0627\u0632 \u0647\u0631 \u062c\u062f\u0648\u0644 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0631\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0627 SELECT \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u062f\u060c \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u0631\u0627 \u0628\u0627 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc REFERENCES \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u062f \u0648 \u0639\u0645\u0644\u06cc\u0627\u062a FLUSH \u0631\u0627 \u0628\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632 RELOAD \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0634\u0645\u0627 \u0641\u0642\u0637 \u0628\u0627\u06cc\u062f \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u062c\u0648\u0632\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u062e\u0648\u062f \u0631\u0627 \u0628\u062f\u0647\u06cc\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062f\u0631 \u0635\u0648\u0631\u062a \u0644\u0632\u0648\u0645 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u06a9\u0627\u0631\u0628\u0631 \u062e\u0648\u062f \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0644\u06cc\u0633\u062a \u06a9\u0627\u0645\u0644 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0645\u0648\u062c\u0648\u062f \u0631\u0627 \u062f\u0631 \u0627\u0633\u0646\u0627\u062f \u0631\u0633\u0645\u06cc MySQL \u0628\u06cc\u0627\u0628\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0627\u06cc\u0646 \u0628\u06cc\u0627\u0646\u06cc\u0647 GRANT \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f\u060c \u0648 <span>sammy <\/span>\u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc MySQL \u062e\u0648\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u06cc\u0646 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 \u062e\u0648\u062f \u0627\u0639\u0637\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code>mysql&gt; GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, REFERENCES, RELOAD on *.* TO 'sammy'@'localhost' WITH GRANT OPTION;<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0628\u06cc\u0627\u0646\u06cc\u0647 \u0634\u0627\u0645\u0644 WITH GRANT OPTION \u0646\u06cc\u0632 \u0645\u06cc \u0628\u0627\u0634\u062f. \u0627\u06cc\u0646 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 MySQL \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u0647\u0631 \u06af\u0648\u0646\u0647 \u0645\u062c\u0648\u0632\u06cc \u0631\u0627 \u06a9\u0647 \u062f\u0627\u0631\u062f \u0628\u0647 \u0633\u0627\u06cc\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0639\u0637\u0627 \u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #ff6600;\"><strong>\u0627\u062e\u0637\u0627\u0631:<\/strong> \u0628\u0631\u062e\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u062e\u0648\u0627\u0647\u0646\u062f \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 MySQL \u062e\u0648\u062f \u0627\u0645\u062a\u06cc\u0627\u0632 ALL PRIVILEGES \u0631\u0627 \u0627\u0639\u0637\u0627 \u06a9\u0646\u0646\u062f\u060c \u06a9\u0647 \u0628\u0647 \u0622\u0646\u0647\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0627\u0628\u0631\u06a9\u0627\u0631\u0628\u0631 \u06af\u0633\u062a\u0631\u062f\u0647 \u0627\u06cc \u0645\u0634\u0627\u0628\u0647 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u06a9\u0627\u0631\u0628\u0631 \u0627\u0635\u0644\u06cc \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u062f\u0647\u062f\u060c \u0645\u0627\u0646\u0646\u062f:<\/span><\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code>mysql&gt; GRANT ALL PRIVILEGES ON *.* TO 'sammy'@'localhost' WITH GRANT OPTION;<\/code><\/pre>\n<p style=\"text-align: justify;\"><span style=\"color: #ff6600;\">\u0686\u0646\u06cc\u0646 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u06af\u0633\u062a\u0631\u062f\u0647 \u0627\u06cc \u0646\u0628\u0627\u06cc\u062f \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0627\u0639\u0637\u0627 \u0634\u0648\u062f\u060c \u0632\u06cc\u0631\u0627 \u0647\u0631 \u06a9\u0633\u06cc \u06a9\u0647 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631 MySQL \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644\u06cc \u0628\u0631 \u0647\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u0634\u062a.<\/span><\/p>\n<p style=\"text-align: justify;\">\u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0631\u0627\u0647\u0646\u0645\u0627\u0647\u0627 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u06a9\u0647 \u062f\u0633\u062a\u0648\u0631 FLUSH PRIVILEGES \u0631\u0627 \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 \u067e\u0633 \u0627\u0632 \u06cc\u06a9 \u0639\u0628\u0627\u0631\u062a CREATE USER \u06cc\u0627 GRANT \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u062c\u062f\u0627\u0648\u0644 \u0627\u0639\u0637\u0627 \u0631\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u0627\u0631\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u062d\u0627\u0635\u0644 \u0634\u0648\u062f \u06a9\u0647 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u062c\u062f\u06cc\u062f \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">mysql&gt; FLUSH PRIVILEGES;<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0637\u0628\u0642 \u0627\u0633\u0646\u0627\u062f \u0631\u0633\u0645\u06cc MySQL\u060c \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u062c\u062f\u0627\u0648\u0644 \u06a9\u0645\u06a9 \u0647\u0632\u06cc\u0646\u0647 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u063a\u06cc\u0631\u0645\u0633\u062a\u0642\u06cc\u0645 \u0628\u0627 \u06cc\u06a9 \u0628\u06cc\u0627\u0646\u06cc\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062d\u0633\u0627\u0628 \u0645\u0627\u0646\u0646\u062f GRANT \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc \u062f\u0647\u06cc\u062f\u060c \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062c\u062f\u0627\u0648\u0644 \u06a9\u0645\u06a9 \u0647\u0632\u06cc\u0646\u0647 \u0631\u0627 \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 \u062f\u0631 \u062d\u0627\u0641\u0638\u0647 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0645\u06cc \u06a9\u0646\u062f\u060c \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u06cc \u06a9\u0647 \u062f\u0633\u062a\u0648\u0631 FLUSH PRIVILEGES \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u0627 \u0636\u0631\u0648\u0631\u06cc \u0646\u06cc\u0633\u062a. \u0627\u0632 \u0637\u0631\u0641\u06cc \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u0647\u06cc\u0686 \u062a\u0627\u062b\u06cc\u0631 \u0645\u0646\u0641\u06cc \u0631\u0648\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0646\u062e\u0648\u0627\u0647\u062f \u062f\u0627\u0634\u062a.<\/p>\n<p style=\"text-align: justify;\">\u0627\u06af\u0631 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0644\u063a\u0648 \u0645\u062c\u0648\u0632 \u062f\u0627\u0631\u06cc\u062f\u060c \u0633\u0627\u062e\u062a\u0627\u0631 \u062a\u0642\u0631\u06cc\u0628\u0627\u064b \u0645\u0634\u0627\u0628\u0647 \u0627\u0639\u0637\u0627\u06cc \u0645\u062c\u0648\u0632 \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">mysql&gt; REVOKE type_of_permission ON database_name.table_name FROM 'username'@'host';<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0647\u0646\u06af\u0627\u0645 \u0644\u063a\u0648 \u0645\u062c\u0648\u0632\u0647\u0627\u060c \u0633\u06cc\u0646\u062a\u06a9\u0633 \u0627\u06cc\u062c\u0627\u0628 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc TO \u06a9\u0647 \u0647\u0646\u06af\u0627\u0645 \u0627\u0639\u0637\u0627\u06cc \u0645\u062c\u0648\u0632\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0631\u062f\u06cc\u062f\u060c \u0627\u0632 FROM \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: justify;\">\u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 SHOW GRANTS \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u062c\u0648\u0632\u0647\u0627\u06cc \u0641\u0639\u0644\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">mysql&gt; SHOW GRANTS FOR 'username'@'host';<\/code><\/pre>\n<p style=\"text-align: justify;\">\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0627 DROP \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 DROP \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\" dir=\"ltr\"><code>mysql&gt; DROP USER 'username'@'localhost';<\/code><\/pre>\n<p style=\"text-align: justify;\">\u067e\u0633 \u0627\u0632 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 MySQL \u0648 \u062f\u0627\u062f\u0646 \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0628\u0647 \u0622\u0646\u0647\u0627\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0645\u062d\u06cc\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc MySQL \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">mysql&gt; exit<\/code><\/pre>\n<p style=\"text-align: justify;\">\u062f\u0631 \u0622\u06cc\u0646\u062f\u0647\u060c \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06a9\u0627\u0631\u0628\u0631 MySQL \u062c\u062f\u06cc\u062f\u060c \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u06cc \u0645\u0627\u0646\u0646\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code style=\"direction: ltr;\">$ mysql -u sammy -p<\/code><\/pre>\n<p style=\"text-align: justify;\">\u067e\u0631\u0686\u0645 p- \u0628\u0627\u0639\u062b \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u06a9\u0644\u0627\u06cc\u0646\u062a MySQL \u0627\u0632 \u0634\u0645\u0627 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u06a9\u0627\u0631\u0628\u0631 MySQL \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0646\u062f.<\/p>\n<h4 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\" style=\"text-align: justify;\"><strong>\u0646\u062a\u06cc\u062c\u0647<\/strong><\/h4>\n<p style=\"text-align: justify;\">\u0628\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u06cc\u0627\u062f \u06af\u0631\u0641\u062a\u06cc\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062c\u062f\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u062c\u0648\u0632\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 MySQL \u0628\u0647 \u0622\u0646\u0647\u0627 \u0628\u062f\u0647\u06cc\u062f. \u0627\u0632 \u0627\u06cc\u0646\u062c\u0627\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u06a9\u0627\u0648\u0634 \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u062e\u062a\u0644\u0641 \u0645\u062c\u0648\u0632 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 MySQL \u062e\u0648\u062f \u0627\u062f\u0627\u0645\u0647 \u062f\u0647\u06cc\u062f\u060c \u06cc\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631\u0628\u0627\u0631\u0647 \u0628\u0631\u062e\u06cc \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0633\u0637\u062d \u0628\u0627\u0644\u0627\u062a\u0631 MySQL \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631\u06cc \u06a9\u0633\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"MySQL \u3067\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308b MySQL \u3092\u7d39\u4ecb\u3057\u307e\u3059\u2026","protected":false},"author":1,"featured_media":14482,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"349","footnotes":""},"categories":[349],"tags":[],"class_list":{"0":"post-14480","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-database"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/ja\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL \u0645\u0639\u0631\u0641\u06cc MySQL \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627\u0628\u0637\u0647 \u0627\u06cc&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/ja\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-04T12:41:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/01\/04160937\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL\",\"datePublished\":\"2024-01-04T12:41:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/\"},\"wordCount\":104,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/01\\\/04160937\\\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg\",\"articleSection\":[\"\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/01\\\/04160937\\\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg\",\"datePublished\":\"2024-01-04T12:41:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/01\\\/04160937\\\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/01\\\/04160937\\\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/database\\\/how-to-create-a-new-user-and-grant-permissions-in-mysql\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/database\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/ja\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL\u3067\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5 - ITPiran Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/ja\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/","og_locale":"ja_JP","og_type":"article","og_title":"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL \u0645\u0639\u0631\u0641\u06cc MySQL \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0645\u062f\u06cc\u0631\u06cc\u062a \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627\u0628\u0637\u0647 \u0627\u06cc&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/ja\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-01-04T12:41:10+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/01\/04160937\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL","datePublished":"2024-01-04T12:41:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/"},"wordCount":104,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/01\/04160937\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg","articleSection":["\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/","url":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/","name":"MySQL\u3067\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u65b9\u6cd5 - ITPiran Blog","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/01\/04160937\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg","datePublished":"2024-01-04T12:41:10+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/01\/04160937\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/01\/04160937\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%A7%DB%8C%D8%AC%D8%A7%D8%AF-%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1-%D8%AC%D8%AF%DB%8C%D8%AF-%D9%88-%D8%A7%D8%B1%D8%A7%D8%A6%D9%87-%D9%85%D8%AC%D9%88%D8%B2-%D8%AF%D8%B1-MySQL.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/database\/how-to-create-a-new-user-and-grant-permissions-in-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647","item":"https:\/\/www.itpiran.net\/blog\/category\/database\/"},{"@type":"ListItem","position":3,"name":"\u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0627\u0631\u0628\u0631 \u062c\u062f\u06cc\u062f \u0648 \u0627\u0631\u0627\u0626\u0647 \u0645\u062c\u0648\u0632 \u062f\u0631 MySQL"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran\u30d6\u30ed\u30b0","description":"\u30a4\u30e9\u30f3\u306e\u6301\u7d9a\u53ef\u80fd\u306a\u8cbf\u6613\u306b\u95a2\u3059\u308b\u30cb\u30e5\u30fc\u30b9\u3068\u8a18\u4e8b","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u6301\u7d9a\u53ef\u80fd\u306a\u30a4\u30e9\u30f3\u30d3\u30b8\u30cd\u30b9\u30d6\u30ed\u30b0","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"\u7ba1\u7406\u8005","url":"https:\/\/www.itpiran.net\/blog\/ja\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/14480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/comments?post=14480"}],"version-history":[{"count":2,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/14480\/revisions"}],"predecessor-version":[{"id":14483,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/14480\/revisions\/14483"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media\/14482"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media?parent=14480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/categories?post=14480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/tags?post=14480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}