{"id":1442,"date":"2014-12-19T02:29:19","date_gmt":"2014-12-19T02:29:19","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1442"},"modified":"2014-12-19T02:29:19","modified_gmt":"2014-12-19T02:29:19","slug":"find-mysql-connection-script","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/12\/19\/find-mysql-connection-script\/","title":{"rendered":"Find Mysql Connection script"},"content":{"rendered":"<p>Recently, I had to find a connection script for mysql as the clients programmer had gone away. I knew the database username and here is the grep command that found it.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# cd \/var\/www\/vhosts\/domain.com\/httpdocs\n# grep -r &#039;database username&#039; *\n\n<\/pre>\n<p>* Where database username is the actulay database username in the plesk database<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I had to find a connection script for mysql as the clients programmer had gone away. I knew the database username and here is the grep command that found it. # cd \/var\/www\/vhosts\/domain.com\/httpdocs # grep -r &#039;database username&#039; * * Where database username is the actulay database username in the plesk database<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-1442","post","type-post","status-publish","format-standard","hentry","category-kb"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1442"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1442\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}