{"id":314,"date":"2023-07-15T20:15:41","date_gmt":"2023-07-15T20:15:41","guid":{"rendered":"https:\/\/www.ehcp.net\/?p=314"},"modified":"2023-08-13T20:38:08","modified_gmt":"2023-08-13T20:38:08","slug":"mysql-database-issue-and-solution","status":"publish","type":"post","link":"https:\/\/www.ehcp.net\/?p=314","title":{"rendered":"Mysql database issue and solution"},"content":{"rendered":"\n<p>We have noticed that, some mysql installations does not allow us to connect as root.<br>So, we updated the installer&nbsp;to overcome that (Ver 0.37.10.b).<\/p>\n\n\n\n<p>Tha problem is described shortly at&nbsp;<a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=2275033&amp;p=13272495#post13272495\">http:\/\/ubuntuforums.org\/showthread.php?t=2275033&amp;p=13272495#post13272495<\/a><\/p>\n\n\n\n<p>If you live problem in adding mysql db&#8217;s, in your existing ehcp installations, you need to run:<\/p>\n\n\n\n<p>shell$ sudo mysql -u root<\/p>\n\n\n\n<p>(<br>If you are unable to connect as mysql root, try to run mysql in safe mode:<br>mysqld_safe &#8211;skip-grant-tables &amp;<br>and then, login.<br>Later on, restart mysql to switch normal mode<br>)<\/p>\n\n\n\n<p>[mysql] use mysql;<br>[mysql] update user set plugin=&#8221; where User=&#8217;root&#8217;;<br>[mysql] flush privileges;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have noticed that, some mysql installations does not allow us to connect as root.So, we updated the installer&nbsp;to overcome that (Ver 0.37.10.b). Tha problem is described shortly at&nbsp;http:\/\/ubuntuforums.org\/showthread.php?t=2275033&amp;p=13272495#post13272495 If you live problem in adding mysql db&#8217;s, in your existing ehcp installations, you need to run: shell$ sudo mysql -u root (If you are unable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":318,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/314"}],"collection":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=314"}],"version-history":[{"count":3,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions\/319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/media\/318"}],"wp:attachment":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}