{"id":1952,"date":"2019-05-30T19:47:14","date_gmt":"2019-05-30T17:47:14","guid":{"rendered":"https:\/\/blog.kodono.info\/wordpress\/?p=1952"},"modified":"2019-05-30T19:47:14","modified_gmt":"2019-05-30T17:47:14","slug":"mysqladmin-with-mariadb-returns-access-denied-for-user-rootlocalhost-using-password-no","status":"publish","type":"post","link":"https:\/\/blog.kodono.info\/wordpress\/2019\/05\/30\/mysqladmin-with-mariadb-returns-access-denied-for-user-rootlocalhost-using-password-no\/","title":{"rendered":"mysqladmin with MariaDB returns &#8220;Access denied for user &#8216;root&#8217;@&#8217;localhost&#8217; (using password: NO)&#8221;"},"content":{"rendered":"<p>When I want to reload my MariaDB server, I receive the below error:<\/p>\n<blockquote><p>\n\/usr\/bin\/mysqladmin: connect to server at &#8216;localhost&#8217; failed<br \/>\nerror: &#8216;Access denied for user &#8216;root&#8217;@&#8217;localhost&#8217; (using password: NO)&#8217;\n<\/p><\/blockquote>\n<p>The solution is to provide the root&#8217;s password in the file `\/etc\/mysql\/debian.cnf` and then the error is gone!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I want to reload my MariaDB server, I receive the below error: \/usr\/bin\/mysqladmin: connect to server at &#8216;localhost&#8217; failed error: &#8216;Access denied for user &#8216;root&#8217;@&#8217;localhost&#8217; (using password: NO)&#8217; The solution is to provide the root&#8217;s password in the file `\/etc\/mysql\/debian.cnf` and then the error is gone!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","hide_page_title":"","footnotes":""},"categories":[15,170,53],"tags":[153,123,161],"class_list":["post-1952","post","type-post","status-publish","format-standard","hentry","category-astuce","category-english","category-linux","tag-astuce","tag-english","tag-linux"],"_links":{"self":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1952"}],"version-history":[{"count":1,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1952\/revisions"}],"predecessor-version":[{"id":1953,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1952\/revisions\/1953"}],"wp:attachment":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}