{"id":546,"date":"2012-02-11T00:05:17","date_gmt":"2012-02-11T05:05:17","guid":{"rendered":"http:\/\/blog.xfloyd.net\/?p=546"},"modified":"2012-02-11T00:09:10","modified_gmt":"2012-02-11T05:09:10","slug":"what-is-the-root-password-for-mysql","status":"publish","type":"post","link":"http:\/\/xfloyd.net\/blog\/?p=546","title":{"rendered":"What is the root password for MySQL?"},"content":{"rendered":"<p>Article ID: 427<br \/>\nLast Review: Jul, 5 2011<\/p>\n<p><a href=\"http:\/\/kb.parallels.com\/427\">http:\/\/kb.parallels.com\/427<\/a><\/p>\n<h2>Resolution<\/h2>\n<p>Parallels Plesk Panel renames &#8216;root&#8217; mysql account to &#8216;admin&#8217;<br \/>\nwhen the Panel is installed.<\/p>\n<p>To get root privileges in mysql simply login with the &#8216;admin&#8217; username instead. The password is the same as the admin password in Parallels Plesk Panel.<\/p>\n<p>On server with Parallels Plesk Panel versions 8.x, 9.x and above admin password is stored in file \/etc\/psa\/.psa.shadow. Use the following command to get the<br \/>\npassword:<\/p>\n<pre>~#\r\ncat \/etc\/psa\/.psa.shadow<\/pre>\n<p>Since version 10 admin password stored in file \/etc\/psa\/.psa.shadow is encrypted. Use the following command to get admin password in plain text:<\/p>\n<pre>~# \/usr\/local\/psa\/bin\/admin --show-password<\/pre>\n<p>Despite version of Parallels Plesk Panel you may use the following command to login to mysql with root privileges:<\/p>\n<pre>~# mysql -uadmin -p`cat\/etc\/psa\/.psa.shadow`<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Article ID: 427 Last Review: Jul, 5 2011 http:\/\/kb.parallels.com\/427 Resolution Parallels Plesk Panel renames &#8216;root&#8217; mysql account to &#8216;admin&#8217; when the Panel is installed. To get root privileges in mysql simply login with the &#8216;admin&#8217; username instead. The password is the same as the admin password in Parallels Plesk Panel. On server with Parallels Plesk [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7],"tags":[],"_links":{"self":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/546"}],"collection":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=546"}],"version-history":[{"count":3,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":548,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/546\/revisions\/548"}],"wp:attachment":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}