{"id":2121,"date":"2011-11-25T14:25:21","date_gmt":"2011-11-25T19:25:21","guid":{"rendered":"http:\/\/smilecitrus.info\/?p=2121"},"modified":"2011-11-25T14:25:21","modified_gmt":"2011-11-25T19:25:21","slug":"i-think-i-encountered-a-cpanel-bug","status":"publish","type":"post","link":"https:\/\/smilecitrus.info\/?p=2121","title":{"rendered":"I think I encountered a cpanel bug"},"content":{"rendered":"<p>My host moved the mysql server a week or so ago so I expected to have some downtime. I feel stupid that it took me so long to realise that they had finished the move due to what I believe is a cpanel bug. They finished the move a long time ago but I couldn&#8217;t log in because of this bug (and intermittent ddos didn&#8217;t help either). Even though my login credentials hadn&#8217;t changed, I still kept getting an error message at the phpmyadmin login screen as well as this error from WordPress, which I had never seen before:<\/p>\n<blockquote><p>We were able to connect to the database server (which means your username and password is okay) but not able to select the &#8220;databasename&#8221; database<\/p><\/blockquote>\n<p>It turns out that all I had to do was change my password by clicking &#8220;Change Password&#8221; in cpanel and then everything worked. It also still worked when I tried changing it to something else and then changing it back immediately. But if I hadn&#8217;t read about this bug on a forum somewhere I never would have known. I would have just sat here twiddling my thumbs assuming that the problem was due to residual issues from the move. I&#8217;m very happy now though, in any case. <\/p>\n<p>Before realizing that this was such a trivial thing to fix, I tried visiting some of the other sites hosted on this server (in a virtual machine, of course) to see if they were having problems too and, sure enough, most of them just throw out &#8220;Error establishing a database connection&#8221;. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>My host moved the mysql server a week or so ago so I expected to have some downtime. I feel stupid that it took me so long to realise that they had finished the move due to what I believe &hellip; <a href=\"https:\/\/smilecitrus.info\/?p=2121\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,3,6],"tags":[109],"_links":{"self":[{"href":"https:\/\/smilecitrus.info\/index.php?rest_route=\/wp\/v2\/posts\/2121"}],"collection":[{"href":"https:\/\/smilecitrus.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smilecitrus.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smilecitrus.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smilecitrus.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2121"}],"version-history":[{"count":3,"href":"https:\/\/smilecitrus.info\/index.php?rest_route=\/wp\/v2\/posts\/2121\/revisions"}],"predecessor-version":[{"id":2124,"href":"https:\/\/smilecitrus.info\/index.php?rest_route=\/wp\/v2\/posts\/2121\/revisions\/2124"}],"wp:attachment":[{"href":"https:\/\/smilecitrus.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smilecitrus.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smilecitrus.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}