<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wanna-be-a-Debian-system-administrator &#187; mistake</title>
	<atom:link href="http://debian.kitaj.net/category/mistake/feed/" rel="self" type="application/rss+xml" />
	<link>http://debian.kitaj.net</link>
	<description></description>
	<lastBuildDate>Mon, 17 May 2010 10:02:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A painful administrative lession</title>
		<link>http://debian.kitaj.net/2006/11/a-painful-administrative-lession/</link>
		<comments>http://debian.kitaj.net/2006/11/a-painful-administrative-lession/#comments</comments>
		<pubDate>Tue, 28 Nov 2006 00:46:42 +0000</pubDate>
		<dc:creator>Mitja</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[mistake]]></category>

		<guid isPermaLink="false">http://debian.kitaj.net/?p=3</guid>
		<description><![CDATA[Well, I learned an important administration lession today.
DON&#8217;T MESS WITH DATABASE GUI WITHOUT CAREFULY READING THE INSTRUCTIONS!
The &#8220;guilty&#8221; GIU in my sad story is PhpMyAdmin. To say it clear PhpMyAdmin it is an excelent piece of software especialy for servers which you don&#8217;t have shell access. I used it a lot in my &#8220;early&#8221; days, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I learned an important administration lession today.</p>
<p>DON&#8217;T MESS WITH DATABASE GUI WITHOUT CAREFULY READING THE INSTRUCTIONS!</p>
<p>The &#8220;guilty&#8221; GIU in my sad story is PhpMyAdmin. To say it clear PhpMyAdmin it is an excelent piece of software especialy for servers which you don&#8217;t have shell access. I used it a lot in my &#8220;early&#8221; days, when I used servers administered by others.</p>
<p>But lately I managed to upgrade my administrative position and  started to administer the servers by myself. With this upgrade came shell access and I immerged myself in the magic world of comand line.</p>
<p><span id="more-3"></span></p>
<p>But unfortunately the world is not so ideal and every now and then I still have to use GUI. And this is the case of the server hosting this blog.</p>
<p>I&#8217;ve spent half of the week setting up the blog and already wrote some articles and after computer free weekend I continued with this pleasent work today. Looking around the other databases on the same server I noticed that the MySQL user I created for this blog has all the privileges on all the databases on the server.</p>
<p>Trying to repair this mistake of mine I spent some time messing around  the PhpMySQL and finaly gave up and decided for a more radical solution. I decided to simply delete the user and create it again with the right privileges.</p>
<p>So far so good. The small mistake I made was that I checked a box without carefuly reading the warning text beside it and later also ignored the warning text on the next screen which probaly asking me if I know what I&#8217;m doing. I realised what I&#8217;ve done on the third screen where my eyes popped out seeing the report on the screen: &#8220;command DROP DATABASE xxxxxx completed successfuly&#8221;.<br />
I&#8217;ve created the database again, granted user with the right privileges, the template was of course left untact, but the content is gone. My only hope to rescue some content is the browser cache on my work computer. I was editing the blog before I went home today, so I hope I can rescue some texts.</p>
]]></content:encoded>
			<wfw:commentRss>http://debian.kitaj.net/2006/11/a-painful-administrative-lession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
