<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>DIYMacServer &#187; Tag: MySQL - Recent Posts</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Tag: MySQL - Recent Posts</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 07:20:03 +0000</pubDate>

<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-945</link>
<pubDate>Thu, 07 Apr 2011 21:32:10 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">945@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;That's really great service. I hope you will be able to find a clue somewhere, as I have ran my forehead against the wall one to many time now!
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-944</link>
<pubDate>Thu, 07 Apr 2011 09:15:49 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">944@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I'll see if I can reproduce your problem to be able to determine a solution.
&#60;/p&#62;</description>
</item>
<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-943</link>
<pubDate>Tue, 05 Apr 2011 20:25:31 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">943@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;No, Skip-networking is not enabled.&#60;br /&#62;
On the other hand, neither is &#34;port&#34;, could that be a problem? I guess not, at least not related to this...
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-942</link>
<pubDate>Tue, 05 Apr 2011 18:51:41 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">942@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Jan did you enable the skip-networking option in MySQL so it can only use the socket for connectivity?
&#60;/p&#62;</description>
</item>
<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-941</link>
<pubDate>Mon, 04 Apr 2011 20:24:17 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">941@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Richard, thanks for your responses, your help is highly appreciated!&#60;/p&#62;
&#60;p&#62;I'm running an DIY server, the only thing that is not according to your guides, is the MySQL, which I downloaded and installed of the MySQL website back in October, just before I found your excellent website.&#60;br /&#62;
The version is Server version: 5.1.51 MySQL Community Server&#60;br /&#62;
the my.cfn is located in /private/etc/my.cnf and the content is:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[client]
socket = /var/mysql/mysql.sock

[mysqld]
socket = /var/mysql/mysql.sock&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And if I understand you correct, this is the setting that SQLGrey should pick up, just as the rest of the components does correctly. Right?&#60;br /&#62;
If I'm to change the connection setting, where should I do that? In my amateur eyes, this all seems just about right... Maybe I'm looking in the wrong place?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-940</link>
<pubDate>Mon, 04 Apr 2011 19:36:16 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">940@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;After some googling I found that Perl uses the MYSQL config file to determine the connection or socket settings in the config file.&#60;/p&#62;
&#60;p&#62;Otherwise we need to change the code to make a database connection look like:&#60;br /&#62;
DBI-&#38;gt;connect(&#34;DBI:mysql:host=localhost:mysql_socket=/tmp/mysql.sock;database=business&#34;...
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-939</link>
<pubDate>Mon, 04 Apr 2011 19:21:32 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">939@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Also, I forgot, do you have a MYSQL config file in /etc/ called my.cnf
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-938</link>
<pubDate>Mon, 04 Apr 2011 18:59:50 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">938@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Jan, which version of MySQl have you got installed and are you running a real OSX server or our DIYMacServer?
&#60;/p&#62;</description>
</item>
<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-937</link>
<pubDate>Mon, 04 Apr 2011 10:35:47 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">937@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;I have a problem that has been keeping me puzzled since I installed my OSX &#34;Server&#34; in October:&#60;/p&#62;
&#60;p&#62;When I restart my server, postfix cannot connect to Dovecot. This it turns out, is related to that postgrey cannot ponnect to the database.&#60;br /&#62;
For some reason, sqlgrey is trying to connect to the socket (I assume) /tmp/mysql.sock!&#60;/p&#62;
&#60;p&#62;The workaround for this is simple, just create a link from the socket file /private/var/mysql/mysql.sock to /tmp/mysql.sock using:&#60;br /&#62;
&#34;ln /private/var/mysql/mysql.sock /tmp/mysql.sock&#34;.&#60;br /&#62;
The disadvantage of this, is that /tmp is emptied on every restart of the server, so I have to manually run this command after each restart.&#60;/p&#62;
&#60;p&#62;But WHY is this happening? Looking in my sqlgrey.conf, I have the following connection settings:&#60;br /&#62;
db_type = mysql&#60;br /&#62;
db_name = sqlgrey&#60;br /&#62;
# Note: the following are not used with SQLite&#60;br /&#62;
db_host = localhost&#60;br /&#62;
db_port = default&#60;/p&#62;
&#60;p&#62;Which is the same as any other component that uses MySQL on the system, and all other works fine!&#60;br /&#62;
I have tried to change the location of the mysql.sock file, but that basically causes all other components to fail :-(&#60;/p&#62;
&#60;p&#62;Is there a hidden setting in perl (which sqlgrey is built upon), which points to an alternative mysql location?&#60;/p&#62;
&#60;p&#62;Alternatively how can I prevent OSX from deleting the /tmp/mysql.sock link on shutdown?&#60;/p&#62;
&#60;p&#62;What I see in my system.log file is this:&#60;br /&#62;
Apr  4 10:38:52 Minin com.diymacserver.sqlgrey[357]: dbaccess: can't connect to DB: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&#60;br /&#62;
Apr  4 10:38:52 Minin com.diymacserver.sqlgrey[357]: dbaccess: error: couldn't get now() from DB: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Jan
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "10.6.5 -&#62; 10.6.7 breaks postfix setup (with fix)"</title>
<link>http://diymacserver.com/forum/topic/1065-1067-breaks-postfix-setup-with-fix#post-936</link>
<pubDate>Wed, 23 Mar 2011 20:48:06 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">936@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Rob,&#60;/p&#62;
&#60;p&#62;This is a known problem and if you look at the blog and look at the articles that talk about the security updates you see that this sometimes happens and how to fix it.&#60;/p&#62;
&#60;p&#62;Here is an example that will help you solve your problem:&#60;br /&#62;
&#60;a href=&#34;http://diymacserver.com/2010/11/12/mac-os-x-update-10-6-5-and-security-update-2010-007/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/2010/11/12/mac-os-x-update-10-6-5-and-security-update-2010-007/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>robcd on "10.6.5 -&#62; 10.6.7 breaks postfix setup (with fix)"</title>
<link>http://diymacserver.com/forum/topic/1065-1067-breaks-postfix-setup-with-fix#post-935</link>
<pubDate>Tue, 22 Mar 2011 17:07:32 +0000</pubDate>
<dc:creator>robcd</dc:creator>
<guid isPermaLink="false">935@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Dear Postfix forum,&#60;/p&#62;
&#60;p&#62;After upgrading my Mac OS X client, I got the following error message:&#60;/p&#62;
&#60;p&#62;... postfix/smtpd[526]: fatal: unsupported dictionary type: mysql&#60;/p&#62;
&#60;p&#62;I noticed that the /usr/libexec/postfix/smtpd executable had been changed, together with who knows what else in that directory. So I restored the old one, only to get a similar error message from the trivial-rewrite executable (in the same directory). So I restored that as well, followed by the cleanup one, and then all is well again.&#60;/p&#62;
&#60;p&#62;So a couple of questions:&#60;/p&#62;
&#60;p&#62;* What should I do to fix things properly?&#60;/p&#62;
&#60;p&#62;* How can I avoid having to do this next time I upgrade the OS?&#60;/p&#62;
&#60;p&#62;Thanks and best regards,&#60;/p&#62;
&#60;p&#62;Rob&#60;/p&#62;
&#60;p&#62;PS Setup has otherwise worked great - many thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>Fred Turner on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-832</link>
<pubDate>Mon, 07 Jun 2010 23:41:17 +0000</pubDate>
<dc:creator>Fred Turner</dc:creator>
<guid isPermaLink="false">832@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Okay, seem to be making progress, although I can't say w/ 100% certainty that I know what the fix was. I went into the 3 mysql_virtual files and changed the &#34;hosts&#34; line from:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;hosts = 127.0.0.1&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;as the instructions say, to:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;hosts = localhost&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;No idea why that would make a difference-- they should be one and the same. However, things seem to work now w/o the error, and mail gets delivered properly. Would still be interested to hear your thoughts.&#60;/p&#62;
&#60;p&#62;Now on to the next problem! :-D&#60;/p&#62;
&#60;p&#62;Thx,&#60;br /&#62;
Fred
&#60;/p&#62;</description>
</item>
<item>
<title>Fred Turner on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-831</link>
<pubDate>Mon, 07 Jun 2010 21:01:00 +0000</pubDate>
<dc:creator>Fred Turner</dc:creator>
<guid isPermaLink="false">831@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Can you think of *any* reason why lookups from postfix to mysql would be failing? It seems to me that the critical log entries are:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;postfix/trivial-rewrite[809]: warning: connect to mysql server 127.0.0.1: Can&#38;#39;t connect to MySQL server on &#38;#39;127.0.0.1&#38;#39; (61)
postfix/trivial-rewrite[809]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock&#124;fold_fix): table lookup problem&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Is it something to do w/ the virtual alias maps file?
&#60;/p&#62;</description>
</item>
<item>
<title>Fred Turner on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-830</link>
<pubDate>Mon, 07 Jun 2010 15:54:14 +0000</pubDate>
<dc:creator>Fred Turner</dc:creator>
<guid isPermaLink="false">830@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Thanks, Richard, but I don't have the foggiest idea how to use that. I tried running it on &#34;ib_logfile0&#34; and &#34;ib_logfile1&#34;, but only got the following output:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Warning:  is opened with same process and filenumber
Maybe you should use the -P option ?&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I guess it's a sign you should throw in the towel and do something else when you're not even able to see the logs to tell you what might be going wrong...
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-829</link>
<pubDate>Fri, 04 Jun 2010 19:47:38 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">829@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Think you need to use something like this: &#60;a href=&#34;http://dev.mysql.com/doc/refman/5.1/en/myisamlog.html&#34; rel=&#34;nofollow&#34;&#62;http://dev.mysql.com/doc/refman/5.1/en/myisamlog.html&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Fred Turner on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-828</link>
<pubDate>Fri, 04 Jun 2010 14:31:37 +0000</pubDate>
<dc:creator>Fred Turner</dc:creator>
<guid isPermaLink="false">828@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Okay, I must be dense...what do I need to use to view these logs? Tried 'tail' and I got mostly gibberish over the screen!&#60;/p&#62;
&#60;p&#62;Thx,&#60;br /&#62;
Fred
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-819</link>
<pubDate>Thu, 13 May 2010 20:24:06 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">819@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;They are in /usr/local/mysql/data/ you'll need root access to read them.&#60;/p&#62;
&#60;p&#62;Are the files readable for postfix.&#60;/p&#62;
&#60;p&#62;notifications are not yet possible, I need to upgrade the software of the forum to do that. But don't despair Im working on it...
&#60;/p&#62;</description>
</item>
<item>
<title>Fred Turner on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-818</link>
<pubDate>Thu, 13 May 2010 15:48:43 +0000</pubDate>
<dc:creator>Fred Turner</dc:creator>
<guid isPermaLink="false">818@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Uh oh...if you've never seen this, then I'm probably screwed! If you think of anything I can test or check out, I'm all ears. Seems to me like somehow postfix is unable to access info in the auxiliary virtual files. Dumb question: where are the MySQL-specific logs in our DIY installation?&#60;/p&#62;
&#60;p&#62;Thx,&#60;br /&#62;
FT&#60;/p&#62;
&#60;p&#62;P.S. Is there any way to subscribe to threads here for instant email notification?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-817</link>
<pubDate>Wed, 12 May 2010 09:27:59 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">817@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I've never seen this error before. I would have to try some stuff to really pinpoint the cause of this. But I'm currently don't have access to a Mac, perhaps later...
&#60;/p&#62;</description>
</item>
<item>
<title>Fred Turner on "Postfix &#34;Can&#039;t connect to MySQL server&#34;"</title>
<link>http://diymacserver.com/forum/topic/postfix-cant-connect-to-mysql-server#post-816</link>
<pubDate>Tue, 11 May 2010 17:40:55 +0000</pubDate>
<dc:creator>Fred Turner</dc:creator>
<guid isPermaLink="false">816@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Had everything pretty close to running, aside from the &#34;createmaildir&#34; script not working, but after a reboot of the server, I get this over and over in the logs:&#60;/p&#62;
&#60;p&#62;postfix/trivial-rewrite[809]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (61)&#60;br /&#62;
postfix/trivial-rewrite[809]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock&#124;fold_fix): table lookup problem&#60;br /&#62;
postfix/smtpd[479]: warning: problem talking to service rewrite: Unknown error: 0&#60;br /&#62;
postfix/master[31]: warning: process /usr/libexec/postfix/trivial-rewrite pid 809 exit status 1&#60;br /&#62;
postfix/master[31]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling&#60;/p&#62;
&#60;p&#62;Any idea why it can't connect? I'm assuming that the &#34;table lookup problem&#34; is simply the first mysql lookup that postfix does, and since it is unable to connect, that fails w/ the &#34;lookup problem&#34;...right? I manually ran mysql and connected as user &#34;postfix&#34; w/o issue.&#60;/p&#62;
&#60;p&#62;Thx,&#60;br /&#62;
Fred
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-719</link>
<pubDate>Mon, 28 Sep 2009 05:51:46 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">719@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;No problem, why are you using apache 2.2.4? It's not even the default installed version on Snow Leopard (2.2.11). &#60;/p&#62;
&#60;p&#62;The instructions are meant as a complete set and I'm assuming everyone is using the latest version. Checking all components with all possible older versions is not something I'm even considering ;-)&#60;/p&#62;
&#60;p&#62;Consider this a closed ticket....
&#60;/p&#62;</description>
</item>
<item>
<title>zerustech on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-718</link>
<pubDate>Sun, 27 Sep 2009 14:02:46 +0000</pubDate>
<dc:creator>zerustech</dc:creator>
<guid isPermaLink="false">718@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Richard,&#60;/p&#62;
&#60;p&#62;I think the problem is: looks like it's only possible to compile php with apache 2.2.13 on snow leopard. I tried to compile php with apache 2.2.4 and 2.0.55, but the &#34;apxs&#34; didn't work.&#60;/p&#62;
&#60;p&#62;So can you please update your instruction and close this ticket? &#60;/p&#62;
&#60;p&#62;Kind regards
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-717</link>
<pubDate>Sun, 27 Sep 2009 06:49:59 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">717@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi, I don't know why you think the instructions here don't work. They do, there is a whole separate section that describes compiling on Snow Leopard: &#60;a href=&#34;http://diymacserver.com/installing-everything-on-snow-leopard/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/installing-everything-on-snow-leopard/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Maybe you didn't look at the correct place?
&#60;/p&#62;</description>
</item>
<item>
<title>zerustech on "Compile Apache+MySQL+php on Snow Leopard"</title>
<link>http://diymacserver.com/forum/topic/compile-apachemysqlphp-on-snow-leopard#post-716</link>
<pubDate>Sun, 27 Sep 2009 06:40:01 +0000</pubDate>
<dc:creator>zerustech</dc:creator>
<guid isPermaLink="false">716@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;I was trying to compile Apache+MySQL+PHP on Snow Leopard according to the instructions on this website, but unfortunately none of them worked. &#60;/p&#62;
&#60;p&#62;I tried different solutions and finally succeeded. So I'm just posting the instructions here and hopefully it will be helpful to you.&#60;/p&#62;
&#60;p&#62;1. First of all, you should download apache 2.2.13 (the apxs in its previous releases does not work)&#60;/p&#62;
&#60;p&#62;2. Install xcode from Snow Leopard installation DVD (I guess you have already installed)&#60;/p&#62;
&#60;p&#62;3. Install MacPorts and the following port libs:&#60;br /&#62;
- zlib&#60;br /&#62;
- curl&#60;br /&#62;
- xsl&#60;br /&#62;
- gd&#60;br /&#62;
- openjpeg&#60;br /&#62;
- libpng&#60;br /&#62;
- freetype&#60;br /&#62;
- xpm&#60;br /&#62;
- exif&#60;br /&#62;
- libiconv&#60;/p&#62;
&#60;p&#62;4. Compile MySQL (5.1.39) as follows:&#60;/p&#62;
&#60;p&#62;#!/bin/sh&#60;br /&#62;
MYSQLVERSION=&#34;5.1.39&#34;&#60;br /&#62;
MYSQLDIR=&#34;/opt/mysql/$MYSQLVERSION&#34;&#60;br /&#62;
make distclean&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=$MYSQLDIR \&#60;br /&#62;
--with-server-suffix=--standard \&#60;br /&#62;
--enable-thread-safe-client \&#60;br /&#62;
--enable-local-infile \&#60;br /&#62;
--enable-shared \&#60;br /&#62;
--with-zlib-dir=bundled \&#60;br /&#62;
--with-big-tables \&#60;br /&#62;
--with-readline \&#60;br /&#62;
--with-plugins=all \&#60;br /&#62;
--with-mysqld-user=mysql \&#60;br /&#62;
--with-extra-charsets=all \&#60;br /&#62;
--with-unix-socket-path=$MYSQLDIR/var/mysql.sock \&#60;br /&#62;
--without-docs&#60;br /&#62;
make&#60;br /&#62;
make install&#60;/p&#62;
&#60;p&#62;5. Compile Apache (2.2.13) as follows:&#60;br /&#62;
#!/bin/sh&#60;br /&#62;
APACHEVERSION=&#34;2.2.13&#34;&#60;br /&#62;
APACHEDIR=&#34;/opt/apache/$APACHEVERSION&#34;&#60;br /&#62;
make distclean&#60;br /&#62;
./configure -prefix=$APACHEDIR \&#60;br /&#62;
 -enable-mods-shared=all \&#60;br /&#62;
 -with-ssl \&#60;br /&#62;
 -with-mpm=prefork \&#60;br /&#62;
 -disable-unique-id \&#60;br /&#62;
 -enable-ssl \&#60;br /&#62;
 -enable-dav \&#60;br /&#62;
 -enable-cache \&#60;br /&#62;
 -enable-proxy \&#60;br /&#62;
 -enable-logio \&#60;br /&#62;
 -enable-deflate \&#60;br /&#62;
 -with-included-apr \&#60;br /&#62;
 -enable-cgi \&#60;br /&#62;
 -enable-cgid \&#60;br /&#62;
 -enable-suexec&#60;/p&#62;
&#60;p&#62;6. Compile PHP (4.4.9 or 5.3.0) as follows:&#60;br /&#62;
#!/bin/sh&#60;br /&#62;
PHPVERSION=4.4.9&#60;br /&#62;
MYSQLVERSION=5.1.39&#60;br /&#62;
APACHEVERSION=2.2.13&#60;br /&#62;
BUILDTAG=$PHPVERSION.mysql.$MYSQLVERSION&#60;br /&#62;
PHPDIR=/opt/php/$BUILDTAG&#60;br /&#62;
MYSQLDIR=/opt/mysql/$MYSQLVERSION&#60;br /&#62;
make distclean&#60;br /&#62;
./configure \&#60;br /&#62;
--prefix=$PHPDIR \&#60;br /&#62;
--with-apxs2=/opt/apache/$APACHEVERSION/bin/apxs \&#60;br /&#62;
--with-config-file-path=$PHPDIR/etc \&#60;br /&#62;
--with-mysql=$MYSQLDIR \&#60;br /&#62;
--with-mysqli=$MYSQLDIR/bin/mysql_config \&#60;br /&#62;
--with-pdo-mysql=$MYSQLDIR \&#60;br /&#62;
--with-zlib=/opt/local \&#60;br /&#62;
--with-curl=/opt/local \&#60;br /&#62;
--with-mcrypt=/opt/local \&#60;br /&#62;
--with-xsl=/opt/local \&#60;br /&#62;
--with-gd=/opt/local \&#60;br /&#62;
--with-jpeg-dir=/opt/local \&#60;br /&#62;
--with-png-dir=/opt/local \&#60;br /&#62;
--with-zlib-dir=/opt/local \&#60;br /&#62;
--with-xpm-dir=/opt/local \&#60;br /&#62;
--with-freetype-dir=/opt/local \&#60;br /&#62;
--with-iconv=/opt/local \&#60;br /&#62;
--enable-mbstring \&#60;br /&#62;
--enable-exif \&#60;br /&#62;
--enable-cli \&#60;br /&#62;
--enable-pcntl \&#60;br /&#62;
--enable-sockets \&#60;br /&#62;
--enable-ftp \&#60;br /&#62;
--enable-soap&#60;br /&#62;
export EXTRA_CFLAGS=&#34;-lresolv&#34;&#60;br /&#62;
make&#60;br /&#62;
make install
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Optimising a server"</title>
<link>http://diymacserver.com/forum/topic/optimising-a-server#post-561</link>
<pubDate>Mon, 22 Sep 2008 18:31:22 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">561@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;For wordpress you can use a caching plugin which will help in caching pages which means that MySQL isn't accessed that much. I don't use phpbb so I'm not that experienced with their options.
&#60;/p&#62;</description>
</item>

</channel>
</rss>

