{"id":4321,"date":"2016-10-09T19:59:06","date_gmt":"2016-10-09T19:59:06","guid":{"rendered":"https:\/\/www.ktchost.com\/blog\/?p=4321"},"modified":"2016-10-11T12:57:43","modified_gmt":"2016-10-11T12:57:43","slug":"log-in-to-mysql-server-without-password","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/log-in-to-mysql-server-without-password\/","title":{"rendered":"log in to MySql server without password"},"content":{"rendered":"<p>We can login into MySql prompt without password from shell using root user .<\/p>\n<p>To configure mysql user prompt without password, open the file <strong>~\/.my.cnf file<\/strong> and add the following section.<\/p>\n<blockquote><p>[client]<br \/>\nuser=root<br \/>\npassword=password<\/p><\/blockquote>\n<p>If you don&#8217;t know MySql\u00a0password,, then simply <a href=\"https:\/\/www.ktchost.com\/blog\/change-mysql-root-password\/\">reset the mysql root user password<\/a> and define it in above file.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>We can login into MySql prompt without password from shell using root user . To configure mysql user prompt without password, open the file ~\/.my.cnf <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/log-in-to-mysql-server-without-password\/\" title=\"log in to MySql server without password\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":4103,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-4321","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/4321"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=4321"}],"version-history":[{"count":3,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/4321\/revisions"}],"predecessor-version":[{"id":4325,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/4321\/revisions\/4325"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/4103"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=4321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=4321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=4321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}