<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://supermanhamuerto.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://supermanhamuerto.com/feed.php">
        <title>supermanhamuerto.com - mysql</title>
        <description></description>
        <link>https://supermanhamuerto.com/</link>
        <image rdf:resource="https://supermanhamuerto.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-23T08:36:40+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:changemasters&amp;rev=1670014949&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:exportadatabase&amp;rev=1670014949&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:exportcsv&amp;rev=1670014949&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:index&amp;rev=1728148779&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:kill&amp;rev=1670014949&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:listapueblos&amp;rev=1670014949&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:quickloganalyzer&amp;rev=1670014949&amp;do=diff"/>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=mysql:recoveringsynchronization&amp;rev=1670014949&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://supermanhamuerto.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>supermanhamuerto.com</title>
        <link>https://supermanhamuerto.com/</link>
        <url>https://supermanhamuerto.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:changemasters&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>changemasters</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:changemasters&amp;rev=1670014949&amp;do=diff</link>
        <description>Changing Masters

The problem

I have a mysql master database with an slave. I want to change the master server. Downtime it is not
a problem, however, I will try to reduce downtime. 

My servers, for the sake of this example will be named: master, future-master, slave.</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:exportadatabase&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>exportadatabase</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:exportadatabase&amp;rev=1670014949&amp;do=diff</link>
        <description>Exporting/importing a database

&lt;http://codex.wordpress.org/Backing_Up_Your_Database&gt;



user@linux:~/files/blog&gt; mysqldump --add-drop-table -h mysqlhostserver
 -u mysqlusername -p databasename (tablename tablename tablename) | bzip2
 -c &gt; blog.bak.sql.bz2



Importar la misma base de datos


user@linux&gt; mysql -h hostname -u username -p databasename &lt; blog.bak.sql</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:exportcsv&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>exportcsv</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:exportcsv&amp;rev=1670014949&amp;do=diff</link>
        <description>Make a select and export to csv

I&#039;ve tried this to make a csv file, to import directly into Microsoft Excel. You can try also with character set &#039;utf-8&#039;, to export international character set, but this doesn&#039;t match very well with Excel.


select blah, blah
  from table 
  into outfile &#039;PUT_HERE_YOUR_FILENAME&#039;
  character set &#039;latin1&#039;  -- latin charset, ideal for importing into excel
  columns terminated by &#039;;&#039;
  enclosed by &#039;&quot;&#039;;</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:index&amp;rev=1728148779&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-05T17:19:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>index</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:index&amp;rev=1728148779&amp;do=diff</link>
        <description>Mysql

	*  Make a select and export to csv
	*  Killing proceses in Mysql
	*  Exporting/importing a database
	*  Lista de todos los pueblos de España (1993)
	*  A quick log analyzer
	*  Recovering lost syncrhonization on mysql
	*  Changing masters</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:kill&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>kill</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:kill&amp;rev=1670014949&amp;do=diff</link>
        <description>Killing proceses in Mysql

&lt;http://dev.mysql.com/doc/refman/5.0/es/kill.html&gt;</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:listapueblos&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>listapueblos</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:listapueblos&amp;rev=1670014949&amp;do=diff</link>
        <description>Lista de todos los pueblos de España (1993)

Esta lista es un poco antigua, pero en un momento dado puede ser de mucha utilidad para normalizar datos, por ejemplo. Contiene únicamente el nombre de la población. 

[Descargable en formato gzip]</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:quickloganalyzer&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>quickloganalyzer</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:quickloganalyzer&amp;rev=1670014949&amp;do=diff</link>
        <description>A quick log analyzer

Here comes a quick log analyzer for web logs. It is an AWK script that parses a log file and generates insert commands. You can pipe this insert commands into a mysql database (the table is provided in the comments) and, using the power of SQL, generate queries about queries per day, queries per month, single visits, etc.</description>
    </item>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=mysql:recoveringsynchronization&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>recoveringsynchronization</title>
        <link>https://supermanhamuerto.com/doku.php?id=mysql:recoveringsynchronization&amp;rev=1670014949&amp;do=diff</link>
        <description>Recovering a lost synchronization in mysql

I have a replicated mysql database and recently I&#039;ve discovered that it has lost synchronization 
with its slave. 

I&#039;ve decided to recover it by the hard way: deleting all the information in the slave and 
starting with a fresh copy of the master.</description>
    </item>
</rdf:RDF>
