<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MySQL, PHP, and Apache in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535415#M17329</link>
    <description>This link might help you:&lt;BR /&gt;&lt;A href="http://www.experts-exchange.com/Databases/Mysql/Q_20828830.html" target="_blank"&gt;http://www.experts-exchange.com/Databases/Mysql/Q_20828830.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look at the bottom after all the comercials.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And this might help too:&lt;BR /&gt;&lt;A href="http://forums.devshed.com/showpost.php?p=971069&amp;amp;postcount=15" target="_blank"&gt;http://forums.devshed.com/showpost.php?p=971069&amp;amp;postcount=15&lt;/A&gt;</description>
    <pubDate>Sun, 01 May 2005 12:47:57 GMT</pubDate>
    <dc:creator>Alex Lavrov.</dc:creator>
    <dc:date>2005-05-01T12:47:57Z</dc:date>
    <item>
      <title>MySQL, PHP, and Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535414#M17328</link>
      <description>I upgraded from Fedora C1 to C3 on my old HP 8500 Pavilion that serves as a gateway to the internet for my LAN. I have MySql, Apache2, and PHP5 installed and was using them together successfully to run a PHPbb forum with C1. With C3, now, I can't get PHP, and MySQL to connect. When users attempt to connect to the forum  &lt;A href="http://cabot-biz.com/phpbb/" target="_blank"&gt;http://cabot-biz.com/phpbb/&lt;/A&gt; we get a no-socket error.&lt;BR /&gt;&lt;BR /&gt;The mysql.sock it's looking for in /tmp is not there. mysqld is running as user mysql same as before.&lt;BR /&gt;&lt;BR /&gt;The upgrade to C3 changed the  Apache2 php.conf to load libphp4.so instead of libphp5.so That copy of libphp4.so was not compiled to play with MySQL. I commented out that line and inserted the one for libphp5.so.&lt;BR /&gt;&lt;BR /&gt;With libphp4.so, I got a blank page, with libphp5.so I get the error message when trying to connect.&lt;BR /&gt;&lt;BR /&gt;I need to figure out what puts the mysql.sock in place I think.</description>
      <pubDate>Sun, 01 May 2005 09:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535414#M17328</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2005-05-01T09:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL, PHP, and Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535415#M17329</link>
      <description>This link might help you:&lt;BR /&gt;&lt;A href="http://www.experts-exchange.com/Databases/Mysql/Q_20828830.html" target="_blank"&gt;http://www.experts-exchange.com/Databases/Mysql/Q_20828830.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look at the bottom after all the comercials.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And this might help too:&lt;BR /&gt;&lt;A href="http://forums.devshed.com/showpost.php?p=971069&amp;amp;postcount=15" target="_blank"&gt;http://forums.devshed.com/showpost.php?p=971069&amp;amp;postcount=15&lt;/A&gt;</description>
      <pubDate>Sun, 01 May 2005 12:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535415#M17329</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-05-01T12:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL, PHP, and Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535416#M17330</link>
      <description>Thanks the sites were useful but still no joy. I tried some of the suggested things like:&lt;BR /&gt;]# bin/mysqladmin create forum&lt;BR /&gt;bin/mysqladmin: connect to server at 'localhost' failed&lt;BR /&gt;error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'&lt;BR /&gt;Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!&lt;BR /&gt;[root@veb mysql]# ps -A | grep mysql&lt;BR /&gt; 4401 pts/0    00:00:00 mysqld_safe&lt;BR /&gt; 4434 pts/0    00:00:00 mysqld&lt;BR /&gt; 4435 pts/0    00:00:00 mysqld&lt;BR /&gt; 4436 pts/0    00:00:00 mysqld&lt;BR /&gt; 4437 pts/0    00:00:00 mysqld&lt;BR /&gt; 4438 pts/0    00:00:00 mysqld&lt;BR /&gt; 4439 pts/0    00:00:00 mysqld&lt;BR /&gt; 4440 pts/0    00:00:00 mysqld&lt;BR /&gt; 4441 pts/0    00:00:00 mysqld&lt;BR /&gt; 4442 pts/0    00:00:00 mysqld&lt;BR /&gt; 4443 pts/0    00:00:00 mysqld&lt;BR /&gt;[root@veb mysql]# netstat -l | grep mysql&lt;BR /&gt;tcp        0      0 *:mysql                     *:*                         LISTEN&lt;BR /&gt;unix  2      [ ACC ]     STREAM     LISTENING     20413  /var/lib/mysql/mysql.sock&lt;BR /&gt;[root@veb mysql]#&lt;BR /&gt;&lt;BR /&gt;mysql doesn't seem to be listening on /tmp/mysql.sock&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2005 13:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535416#M17330</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2005-05-01T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL, PHP, and Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535417#M17331</link>
      <description>Yes, because it seems that it's using "/var/lib/mysql/mysql.sock" instead of "/tmp/mysql.sock"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Did you try to disable SELinux security for the httpd daemon?&lt;BR /&gt;(&lt;A href="http://forums.mysql.com/read.php?11,9689,21483)" target="_blank"&gt;http://forums.mysql.com/read.php?11,9689,21483)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You also can try this:&lt;BR /&gt;&lt;A href="http://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/doc/en/Problems_with_mysql.sock.html" target="_blank"&gt;http://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/doc/en/Problems_with_mysql.sock.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It seems that your client and server are using different sockets to connect. I'm sure that if you'll follow the instruction in the second link, it will work.</description>
      <pubDate>Sun, 01 May 2005 13:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535417#M17331</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-05-01T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL, PHP, and Apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535418#M17332</link>
      <description>Thanks for the links Alex; that last one nailed it. It was a config problem in the file /etc/my.cnf pointing to the wrong database.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2005 17:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-php-and-apache/m-p/3535418#M17332</guid>
      <dc:creator>Vernon Brown_4</dc:creator>
      <dc:date>2005-05-01T17:15:41Z</dc:date>
    </item>
  </channel>
</rss>

