<?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>Computerline NOC Blog &#187; mysql</title>
	<atom:link href="http://blog.computerline.ch/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.computerline.ch</link>
	<description>Network Operations Center (Datacenter Zürich)</description>
	<lastBuildDate>Thu, 02 Feb 2012 14:24:34 +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>PHP Applikations Programmierer</title>
		<link>http://blog.computerline.ch/2011/05/php-applikations-programmierer/</link>
		<comments>http://blog.computerline.ch/2011/05/php-applikations-programmierer/#comments</comments>
		<pubDate>Sun, 29 May 2011 17:44:04 +0000</pubDate>
		<dc:creator>Erich Troxler</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Linux und OpenSource]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programmierer]]></category>
		<category><![CDATA[stelle]]></category>

		<guid isPermaLink="false">http://blog.computerline.ch/2011/05/php-applikations-programmierer/</guid>
		<description><![CDATA[Zur Info: Wir suchen immer noch einen sehr guten und netten PHP Programmierer In unser junges Team passt auch ein Freak in Ausbildung, Pflicht sind super Kentnisse in PHP5, MySQL und Ajax. http://www.computerline.ch/ueber-uns/offene-stellen.html]]></description>
			<content:encoded><![CDATA[<p>Zur Info:<br />
Wir suchen immer noch einen sehr guten und netten PHP Programmierer <img src='http://blog.computerline.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
In unser junges Team passt auch ein Freak in Ausbildung, Pflicht sind super Kentnisse in PHP5, MySQL und Ajax.</p>
<p><a href="http://www.computerline.ch/ueber-uns/offene-stellen.html">http://www.computerline.ch/ueber-uns/offene-stellen.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.computerline.ch/2011/05/php-applikations-programmierer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Upgrade: Von 5 auf 6</title>
		<link>http://blog.computerline.ch/2011/02/debian-upgrade-von-5-auf-6/</link>
		<comments>http://blog.computerline.ch/2011/02/debian-upgrade-von-5-auf-6/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 06:42:27 +0000</pubDate>
		<dc:creator>Erich Troxler</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Linux und OpenSource]]></category>
		<category><![CDATA[debian 5]]></category>
		<category><![CDATA[debian 6]]></category>
		<category><![CDATA[debian upgrade]]></category>
		<category><![CDATA[hci]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql error]]></category>
		<category><![CDATA[mysql startet nicht]]></category>
		<category><![CDATA[squeeze]]></category>

		<guid isPermaLink="false">http://blog.computerline.ch/?p=763</guid>
		<description><![CDATA[Ich bin gerade mit Upgrades auf einem Testserver beschäftigt. Installiert ist Debian Lenny (5.0) , das Upgrade soll auf die neue stable Debian Squeeze (6.0) erfolgen. Bei den Upgrades bin ich auf Details/Fehler gestossen die man beachten muss.  Es empfiehlt sich dieses Posting nicht von Beginn an 1:1 durchzuarbeiten, sondern es zuerst komplett durchzulesen und [...]]]></description>
			<content:encoded><![CDATA[<p>Ich bin gerade mit Upgrades auf einem Testserver beschäftigt. Installiert ist Debian Lenny (5.0) , das Upgrade soll auf die neue stable Debian Squeeze (6.0) erfolgen.<br />
Bei den Upgrades bin ich auf <strong>Details/Fehler</strong> gestossen die man beachten muss.  Es empfiehlt sich dieses Posting nicht von Beginn an 1:1 durchzuarbeiten, sondern es zuerst komplett durchzulesen und erst dann zu starten <img src='http://blog.computerline.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Als erstes sollte man sicher sein, dass der aktuellste Stand von Debian 5 installiert ist:</p>
<blockquote><p>apt-get update<br />
apt-get upgrade</p></blockquote>
<p>Für das Distributions Upgrade müssen zuerst die Quellen angepasst werden, zu beachten sind ein paar neue Update Pfade.</p>
<p>[BEISPIEL] War: <span style="FONT-WEIGHT: bold">/etc/apt/sources.list</span></p>
<blockquote>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb <a href="http://mirror.switch.ch/ftp/mirror/debian/">http://mirror.switch.ch/ftp/mirror/debian/</a> lenny main non-free contrib</pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb-src <a href="http://mirror.switch.ch/ftp/mirror/debian/">http://mirror.switch.ch/ftp/mirror/debian/</a> lenny main non-free contrib</pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb <a href="http://security.debian.org/">http://security.debian.org/</a> lenny/updates main contrib non-free</pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb-src <a href="http://security.debian.org/">http://security.debian.org/</a> lenny/updates main contrib non-free</pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb <a href="http://volatile.debian.org/debian-volatile%20lenny/volatile">http://volatile.debian.org/debian-volatile lenny/volatile</a> main contrib non-free</pre>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb-src <a href="http://volatile.debian.org/debian-volatile%20lenny/volatile">http://volatile.debian.org/debian-volatile lenny/volatile</a> main contrib non-free</pre>
</blockquote>
<pre style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </pre>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">[BEISPIEL] Neu: <span style="FONT-WEIGHT: bold">/etc/apt/sources.list</span></p>
<blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb <a href="http://mirror.switch.ch/ftp/mirror/debian/">http://mirror.switch.ch/ftp/mirror/debian/</a> squeeze main</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb-src <a href="http://mirror.switch.ch/ftp/mirror/debian/">http://mirror.switch.ch/ftp/mirror/debian/</a> squeeze main</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb <a href="http://security.debian.org/">http://security.debian.org/</a> squeeze/updates main</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb-src <a href="http://security.debian.org/">http://security.debian.org/</a> squeeze/updates main</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb <a href="http://ftp.debian.org/debian">http://ftp.debian.org/debian</a> squeeze-updates main</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">deb-src <a href="http://ftp.debian.org/debian">http://ftp.debian.org/debian</a> squeeze-updates main</p>
</blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Danach kann das Upgrade gestartet werden:</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><strong>apt-get dist-upgrade</strong></p>
</blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Das Upgrade wird ein paar Mal fragen ob geänderte Configs überschrieben werden dürfen oder nicht. Ich empfehle ganz klar überall ein <strong>NEIN</strong> (bestehende Konfigurationen behalten), da man sonst alles neu konfigurieren muss.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Das Update installiert die neusten Versionen von allen Programmen, also auch PHP, MySQL, Apache, &#8230;. Grub und den Kernel.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Danach muss man den Server neu starten. In meinen Fällen wurde der Grub korrekt installiert, auch das Software-Raid war noch ganz. <strong>Nicht mehr funktioniert hat nachher der MySQL-Server</strong>. Das scheint aber ein normales Problem zu sein.</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<h2 style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Defekten MySQL nach dem Upgrade wieder in Betrieb nehmen</h2>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">Es scheint zwei Fehlertypen zu geben:</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">a) MySQL Server weg (Binaries verschwunden, aber keine Angst, Tabellen/Inhalt vorhanden)</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt">b) Er startet nicht mehr</p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Wir lösen zuerst das Problem a) weil danach kann b) immer trotzdem noch auftreten.</span></p>
<blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">apt-get &#8211;reinstall mysql-server</span></p>
</blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;"> </span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Danach testen ob es wieder geht. Wenn nicht folgendes probieren:</span></p>
<blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">[MySQL löschen]</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">apt-get remove mysql-server mysql-server-5.0 mysql-server-5.1</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">dpkg &#8211;remove mysql-server</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;"><span style="font-family: Georgia;">dpkg &#8211;remove </span>mysql-server-5.0</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;"><span style="font-family: Georgia;">dpkg &#8211;remove </span>mysql-server-5.1</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">[MySQL wieder installieren]</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">apt-get install -mysql-server -y</span></p>
</blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Jetzt hätten wir Problem a) gelöst, der Server ist wieder hier. Das heisst natürlich noch nicht, dass er auch funktioniert.<br />
Funktioniert /etc/init.d/mysql restart, und der Server läuft, ist alles okay.<br />
</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Läuft er aber immer noch nicht? </span><span style="font-family: Georgia;">Erscheinen Fehler wie:</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">dpkg: Fehler beim Bearbeiten von mysql-server (&#8211;configure):<br />
 AbhÃ¤ngigkeitsprobleme &#8211; verbleibt unkonfiguriert<br />
configured to not write apport reports<br />
                                      Fehler traten auf beim Bearbeiten von:<br />
 mysql-server-5.1<br />
 mysql-server<br />
E: Sub-process /usr/bin/dpkg returned an error code (1)<br />
</span></p></blockquote>
<p> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Das kann ziemlich sicher so behoben werden:<br />
In der Datei /etc/mysql/my.conf (Pfad kann abweichen) skip-bdb auskommentieren (also #skip-bdb oder ganz löschen), Datei speichern.<br />
Danach folgendes ausführen:</span></p>
<blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">dpkg &#8211;configure &#8211;pending</span></p>
</blockquote>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Voilà, der MySQL Server sollte nun defintiv wieder laufen!</span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Bei diesen ganzen MySQL Operationen (löschen, etc.) gehen die Daten und Zugriffe/Passwörter <strong>nicht </strong>verloren. Falls doch bin ich daran nicht schuld, da ich jetzt ausdrücklich sage: <strong>Vorher Backup erstellen  <img src='http://blog.computerline.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Je nach Server waren noch andere Dienste vom MySQL Server abhängig. Diese Dienste am besten kurz neu starten. Wenn ihr nicht welche diese Dienste und es aber sowieso niemand stört (wie z.B. auf einem Testserver), auch gleich den ganzen Server starten, dann vergisst ihr sicher keinen Dienst. </span></p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><span style="font-family: Georgia;">Hinweis zum HCI, ab Version 0.73:</span> </p>
<p style="MARGIN: 0in; FONT-FAMILY: Calibri; FONT-SIZE: 11pt"><strong>Unser Webhosting Administrations Tool, das HCI Hosting Control Interface, funktioniert nach dem Upgrade einwandfrei weiter.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.computerline.ch/2011/02/debian-upgrade-von-5-auf-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offene Stelle: PHP Programmierer</title>
		<link>http://blog.computerline.ch/2010/02/offene-stelle-php-programmierer/</link>
		<comments>http://blog.computerline.ch/2010/02/offene-stelle-php-programmierer/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 13:23:37 +0000</pubDate>
		<dc:creator>Erich Troxler</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[Web Developement]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[offene stelle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programmierer]]></category>
		<category><![CDATA[stelle]]></category>
		<category><![CDATA[stellensuche]]></category>
		<category><![CDATA[zürich]]></category>

		<guid isPermaLink="false">http://blog.computerline.ch/?p=501</guid>
		<description><![CDATA[Gesucht: PHP Webapplikations Programmierer Wir suchen per sofort einen PHP Programmierer mit dem Schwerpunkt auf Web und Webapplikationen. Infos: http://www.computerline.ch/ueber-uns/offene-stellen.html]]></description>
			<content:encoded><![CDATA[<p><strong>Gesucht: PHP Webapplikations Programmierer<br />
</strong>Wir suchen per sofort einen PHP Programmierer mit dem Schwerpunkt auf Web und Webapplikationen.</p>
<p>Infos: <a href="http://www.computerline.ch/ueber-uns/offene-stellen.html">http://www.computerline.ch/ueber-uns/offene-stellen.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.computerline.ch/2010/02/offene-stelle-php-programmierer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

