{"id":14,"date":"2005-02-16T11:34:33","date_gmt":"2005-02-16T11:34:33","guid":{"rendered":"http:\/\/bingo.bananasplit.info\/wordpress\/?p=14"},"modified":"2005-04-23T14:52:27","modified_gmt":"2005-04-23T14:52:27","slug":"phpmyadmin","status":"publish","type":"post","link":"https:\/\/blog.stmellion.org\/?p=14","title":{"rendered":"phpMyAdmin"},"content":{"rendered":"<p>During an upgrade of WordPress, I realised it was about time I figured out how to backup my databases.  This led to the requirement for phpMyAdmin, and this section.<\/p>\n<p>There doesn&#8217;t seem to be any Debian packaging for phpMyAdmin, so I just went to the <a href=\"http:\/\/www.phpmyadmin.net\/home_page\/\">homepage<\/a> and downloaded it.  It consists of a single tarball that gets extracted into the \/var\/www document root, and then one configuration file config.inc.php that needs the userid and password of the MySQL administrator entered.<\/p>\n<p>Without some security, this configuration is now wide open for anyone to access the phpMyAdmin system and play with the databases.  I solved this by editing the \/etc\/apache2\/sites-available\/default configuration file, and inserting the following:<\/p>\n<p>        Alias \/phpmyadmin\/ &#8220;\/var\/www\/phpMyAdmin-2.6.1\/&#8221;<br \/>\n        &lt;Directory \/var\/www\/phpMyAdmin-2.6.1\/&gt;<br \/>\n                Options Indexes FollowSymLinks MultiViews<br \/>\n                AllowOverride None<br \/>\n                Order allow,deny<br \/>\n                allow from <i>my ip address<\/i><br \/>\n        &lt;\/Directory&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During an upgrade of WordPress, I realised it was about time I figured out how to backup my databases. This led to the requirement for phpMyAdmin, and this section. There doesn&#8217;t seem to be any Debian packaging for phpMyAdmin, so I just went to the homepage and downloaded it. It consists of a single tarball&hellip; <a class=\"more-link\" href=\"https:\/\/blog.stmellion.org\/?p=14\">Continue reading <span class=\"screen-reader-text\">phpMyAdmin<\/span><\/a><\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-wordpress","entry"],"_links":{"self":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}