<?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>Starttipp Blog &#187; MySQL</title>
	<atom:link href="http://starttipp.de/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://starttipp.de</link>
	<description>Blog von Webmastern für Webmaster</description>
	<lastBuildDate>Mon, 07 Jun 2010 01:34:17 +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>MySQL Backup via Shell &#8211; schnell und einfach</title>
		<link>http://starttipp.de/mysql/mysql-backup-via-shell-schnell-und-einfach/</link>
		<comments>http://starttipp.de/mysql/mysql-backup-via-shell-schnell-und-einfach/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:58:25 +0000</pubDate>
		<dc:creator>Redaktion</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://starttipp.de/?p=209</guid>
		<description><![CDATA[Tools zum administrieren der eigenen Datenbanken gibt es einige. Wenn man einen eigenen Server hat bzw. &#252;ber Shell-Zugriff verf&#252;gt, dann kann man Datenbanken schnell und einfach per Kommandozeile sichern und wieder einspielen.
Dazu wechseln Sie in Ihr MySQL Verzeichnis (meist unter /var/lib/mysql) und geben zum sichern folgendes Kommando ein:

mysqldump -u root -p datenbankname &#62; datenbankname.sql

Sie werden [...]]]></description>
			<content:encoded><![CDATA[<p>Tools zum administrieren der eigenen Datenbanken gibt es einige. Wenn man einen eigenen Server hat bzw. &#252;ber Shell-Zugriff verf&#252;gt, dann kann man Datenbanken schnell und einfach per Kommandozeile sichern und wieder einspielen.</p>
<p>Dazu wechseln Sie in Ihr MySQL Verzeichnis (meist unter /var/lib/mysql) und geben zum sichern folgendes Kommando ein:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump <span style="color: #660033;">-u</span> root <span style="color: #660033;">-p</span> datenbankname <span style="color: #000000; font-weight: bold;">&gt;</span> datenbankname.sql</pre></div></div>

<p>Sie werden aufgefordert, Ihr Passwort, in diesem Fall f&#252;r root, einzugeben. Fertig, der Server wird den Auftrag abarbeiten und Ihnen die Sicherung erstellen.</p>
<p>Zur&#252;ckspielen k&#246;nnen Sie die Datenbank dann ganz einfach mit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql-u root <span style="color: #660033;">-p</span> datenbankname <span style="color: #000000; font-weight: bold;">&lt;</span> datenbankname.sql</pre></div></div>

<p>Das war es schon <img src='http://starttipp.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://starttipp.de/mysql/mysql-backup-via-shell-schnell-und-einfach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lost connection to MySQL server</title>
		<link>http://starttipp.de/mysql/lost-connection-to-mysql-server/</link>
		<comments>http://starttipp.de/mysql/lost-connection-to-mysql-server/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 15:46:42 +0000</pubDate>
		<dc:creator>Redaktion</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://starttipp.de/?p=172</guid>
		<description><![CDATA[Bei Servern mit starker MySQL-Nutzung kann es unter Umst&#228;nden zu folgenden Fehler kommen:

ERROR 2013 &#40;HY000&#41;: Lost connection to MySQL server at 'sending authentication information', system error: 32

Kein Beinbruch, l&#228;sst sich dieser in den meisten F&#228;llen durch eine kleine &#196;nderung in der [mysqld]-Sektion der my.cnf umgehen:

&#91;mysqld&#93;
connect_timeout = 10

Dies d&#252;rfte alle Installationen vor dem Oktober 2007 betreffen, [...]]]></description>
			<content:encoded><![CDATA[<p>Bei Servern mit starker MySQL-Nutzung kann es unter Umst&#228;nden zu folgenden Fehler kommen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ERROR <span style="color: #000000;">2013</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>HY000<span style="color: #7a0874; font-weight: bold;">&#41;</span>: Lost connection to MySQL server at <span style="color: #ff0000;">'sending authentication information'</span>, system error: <span style="color: #000000;">32</span></pre></div></div>

<p>Kein Beinbruch, l&#228;sst sich dieser in den meisten F&#228;llen durch eine kleine &#196;nderung in der [mysqld]-Sektion der my.cnf umgehen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>mysqld<span style="color: #7a0874; font-weight: bold;">&#93;</span>
connect_timeout = <span style="color: #000000;">10</span></pre></div></div>

<p>Dies d&#252;rfte alle Installationen vor dem Oktober 2007 betreffen, soweit ich in meinen Tests dies pr&#252;fen konnte, auch nur die MySQL-Version 5.0.x</p>
<p>Bei sp&#228;teren Versionen wurde der Default-Wert f&#252;r die connect_timeout von 5 auf 10 bereits erh&#246;ht.</p>
]]></content:encoded>
			<wfw:commentRss>http://starttipp.de/mysql/lost-connection-to-mysql-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Confixx externer MySQL Zugriff</title>
		<link>http://starttipp.de/mysql/confixx-externer-mysql-zugriff/</link>
		<comments>http://starttipp.de/mysql/confixx-externer-mysql-zugriff/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 00:25:09 +0000</pubDate>
		<dc:creator>Redaktion</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Confixx]]></category>
		<category><![CDATA[externer zugriff]]></category>

		<guid isPermaLink="false">http://starttipp.de/?p=83</guid>
		<description><![CDATA[Manchmal ist es erforderlich, eine Datenbank extern &#252;ber einen anderen Server anzusprechen. Unter Confixx kann man dazu im jeweiligen Res-Bereich die Datenbank einzeln freischalten.
Klappt dies dennoch nicht, dann hilft ein Blick nach /etc/mysql/my.cf (Debian):

# Instead of skip-networking you can listen only on
# localhost which is more compatible and is not less secure.
#bind-address    [...]]]></description>
			<content:encoded><![CDATA[<p>Manchmal ist es erforderlich, eine Datenbank extern &#252;ber einen anderen Server anzusprechen. Unter Confixx kann man dazu im jeweiligen Res-Bereich die Datenbank einzeln freischalten.</p>
<p>Klappt dies dennoch nicht, dann hilft ein Blick nach /etc/mysql/my.cf (Debian):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Instead of skip-networking you can listen only on</span>
<span style="color: #666666; font-style: italic;"># localhost which is more compatible and is not less secure.</span>
<span style="color: #666666; font-style: italic;">#bind-address           = 127.0.0.1</span>
skip-networking</pre></div></div>

<p>Hier ist die Option &#8220;skip-networking&#8221; aktiv in der MySQL Konfiguration, welche verhindert, das entsprechend von aussen auf den Server zugegriffen werden kann.</p>
<p>Wird die Option mit einem Rautezeichen (#) kommentiert, dann funktioniert auch der externe Zugriff.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Instead of skip-networking you can listen only on</span>
<span style="color: #666666; font-style: italic;"># localhost which is more compatible and is not less secure.</span>
<span style="color: #666666; font-style: italic;">#bind-address           = 127.0.0.1</span>
<span style="color: #666666; font-style: italic;">#skip-networking</span></pre></div></div>

<p>Nicht vergessen, den MySQL-Server dannach entsprechend neu zu starten:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking <span style="color: #000000; font-weight: bold;">for</span> corrupt, not cleanly closed and upgrade needing tables..</pre></div></div>

<p>Fertig, nun kann auf die Datenbank entsprechend zugegriffen werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://starttipp.de/mysql/confixx-externer-mysql-zugriff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

