{"id":4398,"date":"2020-10-30T23:33:35","date_gmt":"2020-10-30T22:33:35","guid":{"rendered":"https:\/\/webhosting.de\/?p=4398"},"modified":"2021-07-15T13:04:59","modified_gmt":"2021-07-15T12:04:59","slug":"mariadb-%e3%83%ab%e3%83%bc%e3%83%88%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e3%81%ae%e5%a4%89%e6%9b%b4","status":"publish","type":"post","link":"https:\/\/webhosting.de\/ja\/mariadb-root-passwort-aendern\/","title":{"rendered":"mariadb \u30eb\u30fc\u30c8\u5909\u66f4\u30d1\u30b9\u30ef\u30fc\u30c9"},"content":{"rendered":"<p>\u30ea\u30ca\u30c3\u30af\u30b9 <a href=\"https:\/\/webhosting.de\/ja\/mariadb-mysql-root-passwort-vergessen\/\">\u30de\u30ea\u30a2\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/a> \u6839\u3063\u3053\u306e\u90e8\u5206<\/p>\n<p>mariadb root\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4eca\u306f\u4f7f\u3048\u306a\u3044\u306e\u304b\u3001\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u306e\u304b\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u4e0d\u5341\u5206\u3067\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u3067\u3082\u3001\u554f\u984c\u306f\u767a\u751f\u3057\u306a\u3044\u306f\u305a\u3067\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u7c21\u5358\u306b\u30ea\u30bb\u30c3\u30c8\u3001\u5909\u66f4\u3001\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u53ef\u80fd\u3067\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u306a\u3069\u306e\u554f\u984c\u306e\u89e3\u6c7a\u7b56\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u306b\u4fdd\u305f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u554f\u984c\u306e\u306a\u3044\u89e3\u6c7a\u306e\u9053\u3092\u6b69\u3080<\/p>\n<p>\u7570\u306a\u308b\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3068MySQL\u30b5\u30fc\u30d0\u3067\u306f\u3001\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002mariadb\u306e\u30eb\u30fc\u30c8\u3092\u6700\u521d\u306b\u7d42\u4e86\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30ea\u30bb\u30c3\u30c8\u3057\u3066\u3082\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3057\u3001\u304a\u304a\u3088\u305d\u306e\u5236\u9650\u3082\u3042\u308a\u307e\u305b\u3093\u3002mariadb\u306e\u30eb\u30fc\u30c8\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30aa\u30d7\u30b7\u30e7\u30f3 - skip- grant-tables\u304c\u4f7f\u7528\u3055\u308c\u3001mariadb\u306e\u30eb\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306f\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u3082\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e -skip-networking \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5916\u90e8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306f\u7981\u6b62\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u3001\u3053\u306e\u30a2\u30af\u30bb\u30b9\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002mariadb root\u304c\u52d5\u3044\u3066\u3044\u308b\u3068\u697d\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3046\u3059\u308c\u3070\u3001\u5358\u7d14\u306b\u30eb\u30fc\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u4f5c\u696d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u304c\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u3092\u7d42\u4e86\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30b5\u30fc\u30d3\u30b9\u304c\u518d\u958b\u3055\u308c\u307e\u3059\u3002\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306fmariadb\u306e\u30eb\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u8981\u4ef6\u3068\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7<\/p>\n<p>mariadb root- Serverpaswort\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u306f\u3001Linux\u30b5\u30fc\u30d0\u30fc\u306emariadb root\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u5fc5\u8981\u3067\u3059\u3002\u3068\u5b8c\u5168\u4e92\u63db\u306e\u30c9\u30ed\u30c3\u30d7\u30a4\u30f3\u30ea\u30d7\u30ec\u30a4\u30b9\u30e1\u30f3\u30c8\u3002 <a href=\"https:\/\/webhosting.de\/ja\/mysql\/\">MySQL<\/a> \u306f\u901a\u5e38 mariadb root \u304b\u3089\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\u4e2d\u53e4 <a href=\"https:\/\/webhosting.de\/ja\/datenbank-server\/\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/a> \u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308b\u30b3\u30de\u30f3\u30c9\u3067\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u306a\u306e\u3067\u3001\u30eb\u30fc\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u5fa9\u65e7\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5230\u9054\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u305d\u308c\u3092\u505c\u6b62\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u305d\u306e\u5f8c\u3001\u624b\u52d5\u3067\u306e\u307f\u5230\u9054\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u306e\u63a5\u7d9a\u304c\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u52a9\u6210\u91d1\u30c6\u30fc\u30d6\u30eb\u3092\u30ed\u30fc\u30c9\u305b\u305a\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u306e\u6700\u5f8c\u306b\u3042\u308b\u30b3\u30de\u30fc\u30b7\u30e3\u30eb\u306f\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u7aef\u672b\u306f\u3055\u3089\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u63a5\u7d9a\u306f\u3001\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u78ba\u7acb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u63a5\u7d9a\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30aa\u30d7\u30b7\u30e7\u30f3 $ mysql-u root \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3059\u3050\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b7\u30a7\u30eb\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u7570\u306a\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001\u30eb\u30fc\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3053\u3067\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u7c21\u5358\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30eb\u30fc\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4<\/p>\n<p>\u6700\u8fd1\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306emariadb\u30eb\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u3001ALT USER\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30b0\u30e9\u30f3\u30c8\u30c6\u30fc\u30d6\u30eb\u304c\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002FLUSH PRIVILEGES\u306f\u3001\u30b0\u30e9\u30f3\u30c8\u30c6\u30fc\u30d6\u30eb\u3092\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002mysql&gt; FLUSH PRIVILEGES\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30eb\u30fc\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u7c21\u5358\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002MariaDB 10.1.20\u3088\u308a\u3082\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059: mysql&gt; ALTER USER 'root'@'localhost'IDENTIFIED BY 'new_password'; .<br \/>\nMariaDB 10.1.20 \u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5834\u5408\u3001\u30b3\u30de\u30f3\u30c9 mysql&gt; SET PASSWORD FOR 'root'@'localhorst'= PASSWORD('new_password'); .\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6700\u521d\u306b\u9078\u629e\u3057\u305f new_ password \u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002ALTER USER\u30b3\u30de\u30f3\u30c9\u306f\u6642\u3005\u52d5\u4f5c\u3057\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001UPDATE...SET\u304c\u901a\u5e38\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u52a9\u6210\u91d1\u30c6\u30fc\u30d6\u30eb\u306f\u3001\u305d\u306e\u5f8c\u306b\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u3069\u3061\u3089\u306e\u5834\u5408\u3082\u3001\u30b3\u30de\u30f3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u3092\u505c\u6b62\u3057\u3066\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u30b5\u30fc\u30d0\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u505c\u6b62\u3057\u3001SIGTERM\u3067\u9001\u4fe1\u3057\u307e\u3059\u3002\u5927\u6383\u9664\u3092\u3059\u308b\u3068\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u304c\u983b\u7e41\u306b\u51fa\u3066\u304f\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux MariaDB Root Das Passwort von mariadb root ist gerade nicht griffbereit, oder es wurde vergessen? Auch wenn das Passwort nicht sicher genug ist und es soll ge\u00e4ndert werden sollten keine Probleme auftauchen. Das Passwort kann leicht zur\u00fcck gesetzt, ver\u00e4ndert oder neu eingesetzt werden. Der L\u00f6sungsweg f\u00fcr Probleme, wie die \u00c4nderung des Passworts sind sehr einfach gehalten. Ohne Probleme den L\u00f6sungsweg beschreiten Bei verschiedenen Distributionen und dem MySQL-Server sind L\u00f6sungswege zu finden. Das mariadb root sollte zun\u00e4chst beendet werden. Das Zur\u00fccksetzen wird ohne Probleme oder auch nur ann\u00e4hernde Einschr\u00e4nkungen funktionieren. Der mariadb root Server sollte gestartet werden. Dann wird die Option &#8211; skip- grant-tables eingesetzt und der mariadb root server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[780,700,781,995],"tags":[],"class_list":["post-4398","post","type-post","status-publish","format-standard","hentry","category-administration-anleitungen","category-anleitungen","category-datenbanken-administration-anleitungen","category-hilfe"],"acf":[],"_links":{"self":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/4398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/comments?post=4398"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/4398\/revisions"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media?parent=4398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/categories?post=4398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/tags?post=4398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}