<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>Bananas Development Blog - MySQL</title>
    <link>http://blog.bananas-playground.net/</link>
    <description>share your thoughts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    <pubDate>Mon, 28 Mar 2011 06:01:05 GMT</pubDate>

    <image>
        <url>http://blog.bananas-playground.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Bananas Development Blog - MySQL - share your thoughts</title>
        <link>http://blog.bananas-playground.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>WTF des Tages: SQL Injection Vulnerability auf MySQL.com</title>
    <link>http://blog.bananas-playground.net/archives/659-WTF-des-Tages-SQL-Injection-Vulnerability-auf-MySQL.com.html</link>
            <category>MySQL</category>
    
    <comments>http://blog.bananas-playground.net/archives/659-WTF-des-Tages-SQL-Injection-Vulnerability-auf-MySQL.com.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=659</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=659</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Also so was sollte ja nicht vorkomen oder ?&lt;br /&gt;
&lt;br /&gt;
&amp;bull; &lt;a href=&quot;http://seclists.org/fulldisclosure/2011/Mar/309&quot;&gt;MySQL.com Vulnerable To Blind SQL Injection Vulnerability&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;[+] MySQL.com Vulnerable To Blind SQL Injection vulnerability&lt;br /&gt;
[+] Author: Jackh4xor @ w4ck1ng&lt;br /&gt;
[+] Site: http://www.jackh4xor.com&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Gut MySQL kann nicht direkt was dafür, denn die Anwendung die mit der DB arbeitet hat da was verkackt, aber es ist trotzdem FAIL.  
    </content:encoded>

    <pubDate>Mon, 28 Mar 2011 08:01:05 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/659-guid.html</guid>
    <category>mysql</category>
<category>security</category>
<category>server</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Einführung in MySQL Workbench</title>
    <link>http://blog.bananas-playground.net/archives/509-Einfuehrung-in-MySQL-Workbench.html</link>
            <category>MySQL</category>
    
    <comments>http://blog.bananas-playground.net/archives/509-Einfuehrung-in-MySQL-Workbench.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=509</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=509</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    &lt;a href=&quot;http://wb.mysql.com/&quot;&gt;MySQL Workbench&lt;/a&gt; zu verstehen ist am Anfang ein wenig schwer, aber dieses Tutorial sollte da Abhilfe schaffen:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;In today’s tutorial, you’ll learn how to use a visual database modeling utility to draw a database diagram and automatically generate SQL. Specifically, we’ll review how to use MySQL Workbench, a cross-platform, visual database design tool.&lt;/blockquote&gt;&lt;br /&gt;
&lt;a href=&quot;http://net.tutsplus.com/tutorials/databases/visual-database-creation-with-mysql-workbench/&quot;&gt;Visual Database Creation with MySQL Workbench &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Mon, 26 Apr 2010 13:48:35 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/509-guid.html</guid>
    <category>mysql</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>MySQL bleibt uns erhalten</title>
    <link>http://blog.bananas-playground.net/archives/491-MySQL-bleibt-uns-erhalten.html</link>
            <category>MySQL</category>
    
    <comments>http://blog.bananas-playground.net/archives/491-MySQL-bleibt-uns-erhalten.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=491</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=491</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Zeit dem Kauf von MySQL durch Oracle hatte man ja angst wie es nun mit MySQL weitergehen soll.&lt;br /&gt;
&lt;br /&gt;
Nun haben sich die Verantwortlichen auf der O&#039;Reilly MySQL Conference &amp;amp; Expo zu Wort gemeldet&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Gegenüber Reuters  erklärte Edward Screven, Chief Corporate Architect bei Oracle, sein Unternehmen werde die Investitionen in MySQL erhöhen, damit sie besser mit Microsofts SQL-Server konkurrieren kann. Dabei solle MySQL allerdings weiterhin eine schlanke, leicht zu administrierende Datenbank bleiben, sagte Screvens auf der Konferenz.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Hier der &lt;a href=&quot;http://www.reuters.com/article/idUSTRE63C3DV20100413&quot;&gt;Reuters&lt;/a&gt; Bericht und hier &lt;a href=&quot;http://www.heise.de/open/meldung/Oracle-Die-Zukunft-von-MySQL-977355.html&quot;&gt;die Heise Open Nachricht&lt;/a&gt; mit mehr Infos.&lt;br /&gt;
&lt;br /&gt;
Nun hat die Geschichte ein Ende und ich denke alle sind froh, dass MySQL nicht auf kosten von Oracle gestorben ist.&lt;br /&gt;
&lt;br /&gt;
Via: &lt;a href=&quot;http://www.pop-urls.de&quot;&gt;pop-urls.de&lt;/a&gt;  
    </content:encoded>

    <pubDate>Wed, 14 Apr 2010 13:48:28 +0200</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/491-guid.html</guid>
    <category>mysql</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Pagination mit PHP und MySQL</title>
    <link>http://blog.bananas-playground.net/archives/416-Pagination-mit-PHP-und-MySQL.html</link>
            <category>MySQL</category>
    
    <comments>http://blog.bananas-playground.net/archives/416-Pagination-mit-PHP-und-MySQL.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=416</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=416</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Jeder kennt ja die Pagination bzw. die Blätterfunktion für die Anzeige einer Liste.&lt;br /&gt;
&lt;br /&gt;
Man will ja nicht immer alle Daten auslesen, sondern nur die die auch auf der Seite angezeigt werden sollen.&lt;br /&gt;
&lt;br /&gt;
Bisher führt man ja die Abfrage 2 mal aus. Einmal mit LIMIT und einemal ohne. Ansonsten kommt man ja nicht an die Anzahl der Einträge um herauszufinden wie viele Seiten es denn gibt.&lt;br /&gt;
&lt;br /&gt;
Damit hat man aber eine Abfrage 2 mal ausgeführt und das kann bei vielen Datenbeständen zu Problemen führen. ( ich rede hier im 1000+ Bereich )&lt;br /&gt;
&lt;br /&gt;
Nun gibt es aber ab MySQL &lt;del&gt;5.0&lt;/del&gt; 4.1 eine neue Variable die man schon im SELECT Statement mitgeben kann.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;SQL_CALC_FOUND_ROWS&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Dies kann man dann mit der folgenden Funktion abgfragen.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_found-rows&quot;&gt;FOUND_ROWS()&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ich werde das nicht nochmals wiederholen, dann in der Manual ist das schön erklart:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;A SELECT statement may include a LIMIT clause to restrict the number of rows the server returns to the client. In some cases, it is desirable to know how many rows the statement would have returned without the LIMIT, but without running the statement again. To obtain this row count, include a SQL_CALC_FOUND_ROWS  option in the SELECT  statement, and then invoke FOUND_ROWS() afterward: (...)&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Damit spart man performance, denn man muss die selbe Abfrage nicht 2 mal machen und PHP muss nicht nochmals das Ergebnis der Abfrage bearbeiten.  
    </content:encoded>

    <pubDate>Thu, 03 Dec 2009 13:40:57 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/416-guid.html</guid>
    <category>mysql</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>möglichkeiten MySQL Abfragen zu optiomieren</title>
    <link>http://blog.bananas-playground.net/archives/249-moeglichkeiten-MySQL-Abfragen-zu-optiomieren.html</link>
            <category>MySQL</category>
    
    <comments>http://blog.bananas-playground.net/archives/249-moeglichkeiten-MySQL-Abfragen-zu-optiomieren.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=249</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=249</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Wer schon immer wissen wollte wie man MySQL Abfragen besser machen kann und somit auch Performance verbessert dem sei hiermit geholfen:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;Optimization is a complex task because ultimately it requires understanding of the entire system to be optimized. Although it may be possible to perform some local optimizations with little knowledge of your system or application, the more optimal you want your system to become, the more you must know about it.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://phpimpact.wordpress.com/2008/06/12/10-great-articles-for-optimizing-mysql-queries/&quot;&gt;10 great articles for optimizing MySQL queries ( PHP::Impact ( [str Blog] ) )&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Banana&lt;br /&gt;
out  
    </content:encoded>

    <pubDate>Fri, 23 Jan 2009 11:36:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/249-guid.html</guid>
    <category>mysql</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>MySQL INSERT und UPDATE mit einem Befehl</title>
    <link>http://blog.bananas-playground.net/archives/7-MySQL-INSERT-und-UPDATE-mit-einem-Befehl.html</link>
            <category>MySQL</category>
    
    <comments>http://blog.bananas-playground.net/archives/7-MySQL-INSERT-und-UPDATE-mit-einem-Befehl.html#comments</comments>
    <wfw:comment>http://blog.bananas-playground.net/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.bananas-playground.net/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Banana)</author>
    <content:encoded>
    Sollte man mal den Fall haben Daten in eine Tabelle zu speichern und voher zu unterscheiden ob diese Daten schon vorhanden sind und aktualisiert werden müssen oder neu sind.&lt;br /&gt;
&lt;br /&gt;
Dies lÃ¤sst sich zeit MySQL 4.1 in einem Befehl machen&lt;br /&gt;
&lt;pre&gt;INSERT INTO access (&#039;news&#039;,&#039;text&#039;,&#039;date&#039;) 
VALUES (&#039;news tasda&#039;, &#039;tex ad asd t&#039;, &#039;01.01.1900&#039;)
ON DUPLICATE KEY UPDATE news = &#039;neuerInhalt&#039;, 
text = &#039;neuer Text&#039;, 
Datum = &#039;neues Datum&#039; ;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
In diesem Beispiel sollte die Spalte news der Primär Schlüssel sein.&lt;br /&gt;
Mit einer vortlaufenden ID als Primärschlüssel geht das nicht.&lt;br /&gt;
Es muss ein eindeutger Wert sein, denn ansonsten funktioniert ON DUPLICATE KEY nicht.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html&quot;  title=&quot;MYSQL HandbuchReferenz&quot;&gt;MYSQL HandbuchReferenz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;  
    </content:encoded>

    <pubDate>Tue, 06 Mar 2007 09:03:27 +0100</pubDate>
    <guid isPermaLink="false">http://blog.bananas-playground.net/archives/7-guid.html</guid>
    <category>mysql</category>
<category>php</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>