<?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>Linux etc. &#187; mysql</title>
	<atom:link href="http://promberger.info/linux/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://promberger.info/linux</link>
	<description>my outsourced memory for your perusal</description>
	<lastBuildDate>Thu, 08 Sep 2011 11:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>My first RMySQL session</title>
		<link>http://promberger.info/linux/2010/01/21/my-first-rmysql-session/</link>
		<comments>http://promberger.info/linux/2010/01/21/my-first-rmysql-session/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:01:48 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/?p=332</guid>
		<description><![CDATA[# 'fai1' is an empty MySQL database for which 'mpromber' has all privileges mycon]]></description>
			<content:encoded><![CDATA[<pre># 'fai1' is an empty MySQL database for which 'mpromber' has all privileges
mycon <- dbConnect(MySQL(),user='mpromber',dbname='fai1') # pass seems to be read from ~/.my.cnf
# dsub is a data frame:
dbWriteTable(mycon,"dsub",dsub) # create table "dsub"
dbDisconnect(mycon) # close connection
</pre>
<p>Time for lunch.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2010/01/21/my-first-rmysql-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL settings in ~/.my.cnf</title>
		<link>http://promberger.info/linux/2010/01/21/mysql-settings-in-mycnf/</link>
		<comments>http://promberger.info/linux/2010/01/21/mysql-settings-in-mycnf/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:23:39 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/?p=330</guid>
		<description><![CDATA[You can specify default settings for MySQL in the file ~/.my.cnf (create it if it doesn&#8217;t exist). E.g., you could spare yourself typing your password each time you connect with an entry in that file like this: [client] password='mypassword' This gets loaded in addition to the system configuration file, which for me is at /etc/mysql/my.cnf.]]></description>
			<content:encoded><![CDATA[<p>You can specify default settings for MySQL in the file <code>~/.my.cnf</code> (create it if it doesn&#8217;t exist). E.g., you could spare yourself typing your password each time you connect with an entry in that file like this:</p>
<pre>[client]
password='mypassword'</pre>
<p>This gets loaded in addition to the system configuration file, which for me is at <code>/etc/mysql/my.cnf</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2010/01/21/mysql-settings-in-mycnf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run a web server off a usb flash drive</title>
		<link>http://promberger.info/linux/2007/11/19/how-to-run-a-web-server-off-a-usb-flash-drive/</link>
		<comments>http://promberger.info/linux/2007/11/19/how-to-run-a-web-server-off-a-usb-flash-drive/#comments</comments>
		<pubDate>Mon, 19 Nov 2007 09:58:16 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Slax]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2007/11/19/how-to-run-a-web-server-off-a-usb-flash-drive/</guid>
		<description><![CDATA[Actually, turns out to be really easy: Install Slax on the USB flash drive. Here&#8217;s how I did it. Download the Xampp module for Slax. I got version 1.6.2 from here. Copy the Xampp_1_*_.mo file that you downloaded to the modules folder on your USB flash drive. Boot off the USB flash drive. Open a [...]]]></description>
			<content:encoded><![CDATA[<p>Actually, turns out to be really easy:</p>
<ol>
<li>Install Slax on the USB flash drive. Here&#8217;s <a href="http://promberger.info/linux/2007/07/31/slax-on-a-usb-drive/">how I did it.</a></li>
<li>Download the Xampp module for Slax. I got version 1.6.2 <a href="http://slax.hosting4p.com/modules.php?action=download&#038;id=2636">from here</a>.</li>
<li>Copy the <code>Xampp_1_*_.mo</code> file that you downloaded to the <code>modules</code> folder on your USB flash drive.</li>
<li>Boot off the USB flash drive.</li>
<li>Open a terminal and type:
<pre>/opt/lampp/lampp start</pre>
</li>
<li>Open Konqueror and navigate to the URL <code>http://127.0.0.1</code>. You should see the Xampp info screen.</li>
<li>To see what your webroot directory is, look at <code>/opt/lampp/etc/httpd.conf</code>. Here, it is <code>/opt/lampp/htdocs</code>.</li>
<li>I added a symlink in <code>opt/lampp/htdocs</code> to a directory called <code>slax_files</code> on the larger data partition on the usb drive (I had partitioned the drive and put Slax on the smaller partition). I can now access files in that folder at <code>http://127.0.0.1:slax_drives/</code> (This symlink does not survive a reboot. See the next post on how to make it permanent.)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2007/11/19/how-to-run-a-web-server-off-a-usb-flash-drive/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Drupal: how to disable broken module manually</title>
		<link>http://promberger.info/linux/2007/11/14/drupal-how-to-disable-broken-module-manually/</link>
		<comments>http://promberger.info/linux/2007/11/14/drupal-how-to-disable-broken-module-manually/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 13:31:46 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://promberger.info/linux/2007/11/14/drupal-how-to-disable-broken-module-manually/</guid>
		<description><![CDATA[I did something wrong applying a patch to a module. This resulted in a broken site &#8212; I wasn&#8217;t able to see the Administration page anymore to disable the module (or any page for that matter). Log on to your server via SSH. mysql -p Gets you into mysql. To see your databases: show databases; [...]]]></description>
			<content:encoded><![CDATA[<p>I did something wrong applying a patch to a module. This resulted in a broken site &#8212; I wasn&#8217;t able to see the Administration page anymore to disable the module (or any page for that matter).</p>
<p>Log on to your server via SSH.</p>
<pre>mysql -p</pre>
<p>Gets you into <code>mysql</code>.<br />
To see your databases:</p>
<pre>show databases;</pre>
<p>To pick the drupal database:</p>
<pre>use drupal;</pre>
<p>Then, substituting the module name for <code>module_name</code> below:</p>
<pre>UPDATE `system` SET `status` = '0' WHERE `name` = 'module_name' LIMIT 1;</pre>
<p>Finally:</p>
<pre>quit;</pre>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2007/11/14/drupal-how-to-disable-broken-module-manually/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Importing mysql database from the commandline</title>
		<link>http://promberger.info/linux/2007/07/04/importing-mysql-database-from-the-commandline/</link>
		<comments>http://promberger.info/linux/2007/07/04/importing-mysql-database-from-the-commandline/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 08:47:12 +0000</pubDate>
		<dc:creator>Marianne</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.promberger.de/linux/index.php/2007/07/04/importing-mysql-database-from-the-commandline/</guid>
		<description><![CDATA[I&#8217;ll be moving this blog to a different host (unfortunately, because it isn&#8217;t easy to get German ISPs to change the DNS settings, I will also move it to the domain promberger.info at the same time). I can export the database using phpmyadmin, but on the new server I&#8217;ll have to import them from the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be moving this blog to a different host (unfortunately, because it isn&#8217;t easy to get German ISPs to change the DNS settings, I will also move it to the domain promberger.info at the same time). I can export the database using phpmyadmin, but on the new server I&#8217;ll have to import them from the commandline. <a href="http://answers.google.com/answers/threadview?id=24558">These instructions</a> should be all that&#8217;s needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://promberger.info/linux/2007/07/04/importing-mysql-database-from-the-commandline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

