<?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>P0L0&#039;s Blog &#187; mysql</title>
	<atom:link href="http://p0l0.binware.org/index.php/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://p0l0.binware.org</link>
	<description>Opensource Projects and IT experiences</description>
	<lastBuildDate>Tue, 25 May 2010 06:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Recompilar MAMP</title>
		<link>http://p0l0.binware.org/index.php/2008/08/11/recompilar-mamp/</link>
		<comments>http://p0l0.binware.org/index.php/2008/08/11/recompilar-mamp/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 11:50:41 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/?p=275</guid>
		<description><![CDATA[El soporte de LDAP en MAMP 1.7.1 esta roto asi que tube que recompilar el PHP, lo cual me obligo a recompilar todas sus dependencias, pero como no encontre ninguna guia de como realizarlo correctamente, aqui esta como lo hice yo. Lo primero es descargarse el codigo fuente proporcionado por la gente de MAMP, y [...]]]></description>
			<content:encoded><![CDATA[<p>El soporte de LDAP en MAMP 1.7.1 esta roto asi que tube que recompilar el PHP, lo cual me obligo a recompilar todas sus dependencias, pero como no encontre ninguna guia de como realizarlo correctamente, aqui esta como lo hice yo.</p>
<p>Lo primero es descargarse el codigo fuente proporcionado por la gente de MAMP, y su version compilada.</p>
<p>Codigo fuente: <a href="http://download.living-e.com/MAMP/releases/1.7.1/MAMP_1.7.1_src.zip">MAMP 1.7.1 (src)</a></p>
<p>Version Intel: <a href="http://download.living-e.com/MAMP/releases/1.7.1/MAMP_1.7.1_intel_full.dmg">MAMP 1.7.1 (intel)</a></p>
<p>Version PPC: <a href="http://download.living-e.com/MAMP/releases/1.7.1/MAMP_1.7.1_ppc_full.dmg">MAMP 1.7.1 (ppc)</a></p>
<p>Una vez que tengamos esto, hay que instalar MAMP la version compilada en /Applications y asi ya tenemos toda la estructura correcta lista para solo recompilar lo necesario.</p>
<p>Ahora descomprimimos el codigo fuente y vamos compilando las diferentes librerias:</p>
<p><strong>CURL</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf curl-7.16.2.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> curl-7.16.2
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Freetype</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf freetype-2.3.4.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> freetype-2.3.4
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--configure</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Gettext</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf gettext-0.16.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> gettext-0.16.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>IMAP (Parche para osx: <a href="http://p0l0.binware.org/wp-content/uploads/2008/08/imap-2006i-osx.patch">imap-2006i-osx.patch</a>)</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf imap-2006i.tar.Z
<span style="color: #7a0874; font-weight: bold;">cd</span> imap-2006i
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>lt; imap-2006i-osx.patch
<span style="color: #c20cb9; font-weight: bold;">make</span> oxp
<span style="color: #c20cb9; font-weight: bold;">cp</span> c-client<span style="color: #000000; font-weight: bold;">/*</span>.h <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> c-client<span style="color: #000000; font-weight: bold;">/*</span>.c <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> c-client<span style="color: #000000; font-weight: bold;">/</span>c-client.a <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc-client.a</pre></div></div>

<p><strong>JPEG</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf jpegsrc.v6b.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> jpeg-6b
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">which</span> glibtool<span style="color: #000000; font-weight: bold;">`</span> .<span style="color: #000000; font-weight: bold;">/</span>libtool
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libiconv</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libiconv-1.11.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libiconv-<span style="color: #000000;">1.11</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>LibIdn</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz libidn-0.6.14.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libidn-0.6.14
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libmcrypt</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libmcrypt-2.5.8.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libmcrypt-2.5.8
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libpng</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libpng-1.2.18.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libpng-1.2.18
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libxml</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libxml2-2.6.29.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libxml2-2.6.29
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libxst</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf libxslt-1.1.21.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> libxslt-1.1.21
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-libxml-prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>t1lib</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf t1lib-5.1.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> t1lib-5.1.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> without_doc
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>libexpat</strong></p>
<p>Esta libreria es necesaria y no esta incluida, asi que hay que bajarla de<a title="libexpat" href="http://sourceforge.net/projects/expat/"> http://sourceforge.net/projects/expat/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf expat-2.0.1.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> expat-2.0.1
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>MySQL</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz mysql-5.0.41.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> mysql-5.0.41
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-unix-socket-path</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>mysql.sock <span style="color: #660033;">--with-tcp-port</span>=<span style="color: #000000;">9999</span> <span style="color: #660033;">--localstatedir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>db<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>Apache2</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf httpd-2.0.59.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> httpd-2.0.59
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--sysconfdir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>apache <span style="color: #660033;">--enable-nonportable-atomics</span> <span style="color: #660033;">--enable-so</span> <span style="color: #660033;">--enable-cgid</span> <span style="color: #660033;">--enable-auth-anon</span> <span style="color: #660033;">--enable-auth-dbm</span> <span style="color: #660033;">--enable-auth-digest</span> <span style="color: #660033;">--enable-file-cache</span> <span style="color: #660033;">--enable-echo</span> <span style="color: #660033;">--enable-charset-lite</span> <span style="color: #660033;">--enable-cache</span> <span style="color: #660033;">--enable-disk-cache</span> <span style="color: #660033;">--enable-mem-cache</span> <span style="color: #660033;">--enable-example</span> <span style="color: #660033;">--enable-ext-filter</span> <span style="color: #660033;">--enable-case-filter</span> <span style="color: #660033;">--enable-case-filter-in</span> <span style="color: #660033;">--enable-deflate</span> <span style="color: #660033;">--enable-mime-magic</span> <span style="color: #660033;">--enable-cern-meta</span> <span style="color: #660033;">--enable-expires</span> <span style="color: #660033;">--enable-headers</span> <span style="color: #660033;">--enable-usertrack</span> <span style="color: #660033;">--enable-unique-id</span> <span style="color: #660033;">--enable-proxy</span> <span style="color: #660033;">--enable-proxy-connect</span> <span style="color: #660033;">--enable-proxy-ftp</span> <span style="color: #660033;">--enable-proxy-http</span> <span style="color: #660033;">--enable-bucketeer</span> <span style="color: #660033;">--enable-http</span> <span style="color: #660033;">--enable-info</span> <span style="color: #660033;">--enable-cgid</span> <span style="color: #660033;">--enable-vhost-alias</span> <span style="color: #660033;">--enable-speling</span> <span style="color: #660033;">--enable-rewrite</span> <span style="color: #660033;">--enable-so</span> <span style="color: #660033;">--with-ssl</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-dav</span> <span style="color: #660033;">--enable-dav-fs</span> <span style="color: #660033;">--enable-ssl</span>=shared <span style="color: #660033;">--enable-mods-shared</span>=most <span style="color: #660033;">--with-mpm</span>=prefork <span style="color: #660033;">--without-berkeley-db</span>
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>Si al compilar nos aparece este error:</p>
<blockquote><p>endrecv.c:965:2: error: #error APR has detected sendfile on your system, but nobody has written a<br />
sendrecv.c:966:2: error: #error version of it for APR yet. To get past this, either write apr_sendfile<br />
sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h to 0.</p></blockquote>
<p>Entonces tenemos que editar el fichero <strong><em>srclib/apr/include/apr.h </em><span style="font-weight: normal;">y cambiar la linea <em><strong>#define APR_HAS_SENDFILE 1</strong></em> por <strong><em>#define APR_HAS_SENDFILE 0</em></strong></span></strong></p>
<p>Y finalmente para instalar</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p><strong>PHP</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf php-5.2.5.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> php-5.2.5
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-mysql</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-apxs2</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>apxs <span style="color: #660033;">--with-gd</span> <span style="color: #660033;">--with-jpeg-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-png-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-zlib</span> <span style="color: #660033;">--with-freetype-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--exec-prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--sysconfdir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--with-soap</span> <span style="color: #660033;">--with-config-file-path</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--enable-track-vars</span> <span style="color: #660033;">--enable-bcmath</span> <span style="color: #660033;">--enable-ftp</span> <span style="color: #660033;">--enable-gd-native-ttf</span> <span style="color: #660033;">--with-bz2</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-ldap</span> <span style="color: #660033;">--with-mysqli</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysql_config <span style="color: #660033;">--with-sqlite</span> <span style="color: #660033;">--with-ttf</span> --with-t1<span style="color: #007800;">lib</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--enable-mbstring</span>=all <span style="color: #660033;">--with-curl</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--enable-dbx</span> <span style="color: #660033;">--enable-sockets</span> <span style="color: #660033;">--enable-bcmath</span> <span style="color: #660033;">--with-imap</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>imap-2006i <span style="color: #660033;">--enable-soap</span> <span style="color: #660033;">--with-kerberos</span> <span style="color: #660033;">--enable-calendar</span> <span style="color: #660033;">--with-pgsql</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>pg <span style="color: #660033;">--enable-dbase</span> <span style="color: #660033;">--enable-exif</span> <span style="color: #660033;">--with-libxml-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-gettext</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-xsl</span>=<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-pdo-mysql</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-pdo-pgsql</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>pg <span style="color: #660033;">--with-mcrypt</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library <span style="color: #660033;">--with-openssl</span> <span style="color: #660033;">--with-iconv</span>=shared,<span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>MAMP<span style="color: #000000; font-weight: bold;">/</span>Library
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #7a0874; font-weight: bold;">test</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Y con esto ya tenemos recompilado el MAMP y listos para funcionar. En cualquiera de las opciones se puede aprovechar para cambiar opciones, añadir o quitar modules, etc...</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;bodytext=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;notes=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;t=Recompilar%20MAMP" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;annotation=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Recompilar%20MAMP&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F&amp;title=Recompilar%20MAMP&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=El%20soporte%20de%20LDAP%20en%20MAMP%201.7.1%20esta%20roto%20asi%20que%20tube%20que%20recompilar%20el%20PHP%2C%20lo%20cual%20me%20obligo%20a%20recompilar%20todas%20sus%20dependencias%2C%20pero%20como%20no%20encontre%20ninguna%20guia%20de%20como%20realizarlo%20correctamente%2C%20aqui%20esta%20como%20lo%20hice%20yo.%0D%0A%0D%0ALo%20primero%20es%20des" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Recompilar%20MAMP%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2008%2F08%2F11%2Frecompilar-mamp%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2008/08/11/recompilar-mamp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mysql Replication</title>
		<link>http://p0l0.binware.org/index.php/2007/04/18/mysql-replication/</link>
		<comments>http://p0l0.binware.org/index.php/2007/04/18/mysql-replication/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 07:32:59 +0000</pubDate>
		<dc:creator>P0L0</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://p0l0.binware.org/index.php/2007/04/18/mysql-replication/</guid>
		<description><![CDATA[Aqui voy a explicar como poder montar un sistema de maestro-esclavo(s) en mysql. La idea es que hay un servidor principal, que es en el que se modifican los datos y los esclavos solo estan ahi para tenerlo todo duplicado, esto es perfecto para hacer copias de seguridad. Si la idea es tener transferencia de [...]]]></description>
			<content:encoded><![CDATA[<p>Aqui voy a explicar como poder montar un sistema de maestro-esclavo(s) en mysql. La idea es que hay un servidor principal, que es en el que se modifican los datos y los esclavos solo estan ahi para tenerlo todo duplicado, esto es perfecto para hacer copias de seguridad. Si la idea es tener transferencia de datos bidireccional, hay que montar un "<a href="http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster.html" target="_new">MySQL Cluster</a>"</p>
<p>La replicacion funciona por medio de los binary log de mysql, asi que lo primero sera configurar correctamente el servidor maestro. Asi que añadimos estas opciones en el fichero my.cnf si aun no estan.</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>mysql<span style="">&#93;</span></span>
#Activamos el log binario
<span style="color: #000099;">log-bin</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">mysql-bin</span>
#Establecemos un id para el servidor, el maestro SIEMPRE sera <span style="">1</span>
<span style="color: #000099;">server_id</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span>
#Esto ayuda por si el master tiene un cuelgue y no haya problemas en la replicacion al volver a arrancarlo
<span style="color: #000099;">sync_binlog</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span>
#Si trabajamos con INNODB, hay que activar esto
<span style="color: #000099;">innodb_flush_log_at_trx_commit</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span></pre></div></div>

<p><strong>IMPORTANTE</strong>: Hay que comprobar que la linea <em>skip-networking </em>no este puesta en el master, ya que sino no abrira el puerto</p>
<p>Ahora dejaremos lista la configuracion en el esclavo</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>mysql<span style="">&#93;</span></span>
#Activamos el log binario
<span style="color: #000099;">log-bin</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">mysql-bin</span>
#Id del esclavo, este tiene que ser unico
<span style="color: #000099;">server_id</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">2</span></pre></div></div>

<p>Ahora en el maestro le damos permisos al esclavo</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">GRANT</span> REPLICATION SLAVE <span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #66cc66;">*.*</span> <span style="color: #993333; font-weight: bold;">TO</span> slave@IP_ESCLAVO <span style="color: #993333; font-weight: bold;">IDENTIFIED</span> <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'slavepass'</span>;</pre></div></div>

<p>Ahora vamos a hacer un <em>snapshot</em> de la posicion actual del maestro para dejar el esclavo en la misma posicion para empezar a replicar. Nos conectamos al servidor maestro y ejecutamos lo siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">FLUSH</span> <span style="color: #993333; font-weight: bold;">TABLES</span> <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #993333; font-weight: bold;">READ</span> <span style="color: #993333; font-weight: bold;">LOCK</span>;
<span style="color: #993333; font-weight: bold;">SHOW</span> MASTER <span style="color: #993333; font-weight: bold;">STATUS</span>;</pre></div></div>

<p>Esto nos va a devolver la posicion actual del log, asi que apuntamos "<strong>File</strong>" y "<strong>Position</strong>", que lo necesitaremos para ponerselo al esclavo, en caso de que salga en blanco "<strong>File</strong>" es <strong>''</strong> y "<strong>Position</strong>" es <strong>4</strong></p>
<p>Ahora sin cerrar la conexion mysql (sino se pondria en marcha otra vez), ejecutamos esto desde otro terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ mysqladmin <span style="color: #660033;">-u</span> root <span style="color: #660033;">-p</span> shutdown</pre></div></div>

<p>Realizamos ahora la copia de la base de datos, hay dos metodos:</p>
<ul>
<li>mysqldump

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

</li>
<li>tar

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib ; <span style="color: #c20cb9; font-weight: bold;">tar</span> cf <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>mysql.tar mysql</pre></div></div>

</li>
</ul>
<p>Pasamos la copia al esclavo y lo importamos:</p>
<ul>
<li>mysqldump

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

</li>
<li>tar

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib ; <span style="color: #c20cb9; font-weight: bold;">tar</span> xcf <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>mysql.tar</pre></div></div>

</li>
</ul>
<p>Lo siguiente es ponerle los datos del maestro al esclavo:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CHANGE</span> MASTER <span style="color: #993333; font-weight: bold;">TO</span> master_host<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'IP_MAESTRO'</span><span style="color: #66cc66;">,</span> master_user<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'slave'</span><span style="color: #66cc66;">,</span> master_password<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'slavepass'</span><span style="color: #66cc66;">,</span> master_log_file<span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span><span style="color: #66cc66;">,</span> master_log_pos<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">4</span>;
start slave;</pre></div></div>




Share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F&amp;partner=sociable" title="Print"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F&amp;title=Mysql%20Replication&amp;bodytext=Aqui%20voy%20a%20explicar%20como%20poder%20montar%20un%20sistema%20de%20maestro-esclavo%28s%29%20en%20mysql.%20La%20idea%20es%20que%20hay%20un%20servidor%20principal%2C%20que%20es%20en%20el%20que%20se%20modifican%20los%20datos%20y%20los%20esclavos%20solo%20estan%20ahi%20para%20tenerlo%20todo%20duplicado%2C%20esto%20es%20perfecto%20para%20hacer%20" title="Digg"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F&amp;title=Mysql%20Replication&amp;notes=Aqui%20voy%20a%20explicar%20como%20poder%20montar%20un%20sistema%20de%20maestro-esclavo%28s%29%20en%20mysql.%20La%20idea%20es%20que%20hay%20un%20servidor%20principal%2C%20que%20es%20en%20el%20que%20se%20modifican%20los%20datos%20y%20los%20esclavos%20solo%20estan%20ahi%20para%20tenerlo%20todo%20duplicado%2C%20esto%20es%20perfecto%20para%20hacer%20" title="del.icio.us"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F&amp;t=Mysql%20Replication" title="Facebook"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F&amp;title=Mysql%20Replication&amp;annotation=Aqui%20voy%20a%20explicar%20como%20poder%20montar%20un%20sistema%20de%20maestro-esclavo%28s%29%20en%20mysql.%20La%20idea%20es%20que%20hay%20un%20servidor%20principal%2C%20que%20es%20en%20el%20que%20se%20modifican%20los%20datos%20y%20los%20esclavos%20solo%20estan%20ahi%20para%20tenerlo%20todo%20duplicado%2C%20esto%20es%20perfecto%20para%20hacer%20" title="Google Bookmarks"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Mysql%20Replication&amp;body=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F" title="email"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F&amp;title=Mysql%20Replication&amp;source=P0L0%26%23039%3Bs+Blog+Opensource+Projects+and+IT+experiences&amp;summary=Aqui%20voy%20a%20explicar%20como%20poder%20montar%20un%20sistema%20de%20maestro-esclavo%28s%29%20en%20mysql.%20La%20idea%20es%20que%20hay%20un%20servidor%20principal%2C%20que%20es%20en%20el%20que%20se%20modifican%20los%20datos%20y%20los%20esclavos%20solo%20estan%20ahi%20para%20tenerlo%20todo%20duplicado%2C%20esto%20es%20perfecto%20para%20hacer%20" title="LinkedIn"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F" title="Meneame"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Mysql%20Replication%20-%20http%3A%2F%2Fp0l0.binware.org%2Findex.php%2F2007%2F04%2F18%2Fmysql-replication%2F" title="Twitter"><img src="http://p0l0.binware.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://p0l0.binware.org/index.php/2007/04/18/mysql-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
