<?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: Fatal Error on MySql in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001013#M5226</link>
    <description>hi&lt;BR /&gt;is the database instance up and running and do u have correct access permissions.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
    <pubDate>Fri, 20 Jun 2003 10:01:44 GMT</pubDate>
    <dc:creator>Balaji N</dc:creator>
    <dc:date>2003-06-20T10:01:44Z</dc:date>
    <item>
      <title>Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001005#M5218</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I use RedHat 8.0 as web server with PHP and MySql as below:&lt;BR /&gt;php-4.2.2-8.0.5&lt;BR /&gt;mysql-server-3.23.52-3&lt;BR /&gt;&lt;BR /&gt;My colleague uploaded a lot of PHP files to the web server recently.  When we tried to access our default web page, an error message is displayed as below:&lt;BR /&gt;&lt;BR /&gt;Fatal error: Call to undefined function: mysql_connect() in /home/surathin/public_html/includes/functions/database.php on line 19&lt;BR /&gt;&lt;BR /&gt;My colleague and I have no idea on this error. Any idea or solution on this error?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 18 Jun 2003 13:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001005#M5218</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2003-06-18T13:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001006#M5219</link>
      <description>Restore the dtabase.php file from backup.&lt;BR /&gt;&lt;BR /&gt;Be more careful in the future.&lt;BR /&gt;&lt;BR /&gt;If not an option, get the php file from another server.&lt;BR /&gt;&lt;BR /&gt;Post the php file if its not to big.  What's on line 18 or 19?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 18 Jun 2003 13:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001006#M5219</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-18T13:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001007#M5220</link>
      <description>Did you install php-mysql package, linking php to mysql ?&lt;BR /&gt;Get it here :&lt;BR /&gt;&lt;A href="http://rpmseek.com/rpm-pl/php-mysql.html?hl=com&amp;amp;cs=php-mysql:PN:0:0:0" target="_blank"&gt;http://rpmseek.com/rpm-pl/php-mysql.html?hl=com&amp;amp;cs=php-mysql:PN:0:0:0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Check also that both are started, with service mysqld restart, service httpd restart.&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Wed, 18 Jun 2003 14:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001007#M5220</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-18T14:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001008#M5221</link>
      <description>Steven and Jerome, thank you for all your replies.&lt;BR /&gt;&lt;BR /&gt;I tried to install "php-mysql-4.2.2-8.0.5.i386.rpm" as follows:&lt;BR /&gt;&lt;BR /&gt;[root@es1 dng]# rpm -ivh php-mysql-4.2.2-8.0.5.i386.rpm&lt;BR /&gt;warning: php-mysql-4.2.2-8.0.5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60&lt;BR /&gt;e&lt;BR /&gt;Preparing...                ########################################### [100%]&lt;BR /&gt;   1:php-mysql              ########################################### [100%]&lt;BR /&gt;[root@es1 dng]#&lt;BR /&gt;&lt;BR /&gt;After rebooting the web server, i checked the module as below:&lt;BR /&gt;       &lt;BR /&gt;[root@es1 dng]# rpm -qa "php-mysql*"&lt;BR /&gt;php-mysql-4.2.2-8.0.5&lt;BR /&gt;[root@es1 dng]# &lt;BR /&gt;&lt;BR /&gt;Then, I tried to access the default web page, the error message I posted before is disappeared.  2 new warning messages are displayed as below:&lt;BR /&gt;&lt;BR /&gt;Warning: Access denied for user: 'surathin@localhost' (Using password: YES) in /home/surathin/public_html/includes/functions/database.php on line 19&lt;BR /&gt;&lt;BR /&gt;Warning: MySQL Connection Failed: Access denied for user: 'surathin@localhost' (Using password: YES) in /home/surathin/public_html/includes/functions/database.php on line 19&lt;BR /&gt;Unable to connect to database server!&lt;BR /&gt;&lt;BR /&gt;Attached file is "database.php".  Any idea or solution?  Please help.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jun 2003 01:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001008#M5221</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2003-06-19T01:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001009#M5222</link>
      <description>Steven and Jerome, thank you for all your replies.&lt;BR /&gt;&lt;BR /&gt;I tried to install "php-mysql-4.2.2-8.0.5.i386.rpm" as follows:&lt;BR /&gt;&lt;BR /&gt;[root@es1 dng]# rpm -ivh php-mysql-4.2.2-8.0.5.i386.rpm&lt;BR /&gt;warning: php-mysql-4.2.2-8.0.5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60&lt;BR /&gt;e&lt;BR /&gt;Preparing...                ########################################### [100%]&lt;BR /&gt;   1:php-mysql              ########################################### [100%]&lt;BR /&gt;[root@es1 dng]#&lt;BR /&gt;&lt;BR /&gt;After rebooting the web server, i checked the module as below:&lt;BR /&gt;       &lt;BR /&gt;[root@es1 dng]# rpm -qa "php-mysql*"&lt;BR /&gt;php-mysql-4.2.2-8.0.5&lt;BR /&gt;[root@es1 dng]# &lt;BR /&gt;&lt;BR /&gt;Then, I tried to access the default web page, the error message I posted before is disappeared.  2 new warning messages are displayed as below:&lt;BR /&gt;&lt;BR /&gt;Warning: Access denied for user: 'surathin@localhost' (Using password: YES) in /home/surathin/public_html/includes/functions/database.php on line 19&lt;BR /&gt;&lt;BR /&gt;Warning: MySQL Connection Failed: Access denied for user: 'surathin@localhost' (Using password: YES) in /home/surathin/public_html/includes/functions/database.php on line 19&lt;BR /&gt;Unable to connect to database server!&lt;BR /&gt;&lt;BR /&gt;Attached file is "database.php".  Any idea or solution?  Please help.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jun 2003 01:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001009#M5222</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2003-06-19T01:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001010#M5223</link>
      <description>It sounds as if the 'user' and 'db' tables in your 'mysql' database are a bit off.&lt;BR /&gt;&lt;BR /&gt;Check the username/password that are listed in 'database.php', then check the tokens that are in the mysql table, and see if they match.&lt;BR /&gt;&lt;BR /&gt;("select password('yourpaswd'), password from user where user = 'yourusername';, and make sure that the two match).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jun 2003 01:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001010#M5223</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-06-19T01:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001011#M5224</link>
      <description>And do not forget that passwords are encrypted in mysql Linux, so adding a new user would be '... values ('localhost', 'username', 'password(yourpass)', 'Y',...)&lt;BR /&gt;check this password(yourpassword) way of precising the password.&lt;BR /&gt;J</description>
      <pubDate>Thu, 19 Jun 2003 11:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001011#M5224</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-19T11:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001012#M5225</link>
      <description>My colleague told me that he can run the PHP files and MySql on another server successfully.&lt;BR /&gt;&lt;BR /&gt;My colleague and I believe that all problems are from our server.  Once we solve all problems, I will let you all know the good news.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jun 2003 00:52:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001012#M5225</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2003-06-20T00:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001013#M5226</link>
      <description>hi&lt;BR /&gt;is the database instance up and running and do u have correct access permissions.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Fri, 20 Jun 2003 10:01:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001013#M5226</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-06-20T10:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001014#M5227</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;My colleague adjusted the user permission on MySql database.  Warning message disappeared.&lt;BR /&gt;&lt;BR /&gt;Thanks all.</description>
      <pubDate>Thu, 26 Jun 2003 05:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001014#M5227</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2003-06-26T05:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Error on MySql</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001015#M5228</link>
      <description>Glad it worked !!&lt;BR /&gt;:]]&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Fri, 27 Jun 2003 11:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fatal-error-on-mysql/m-p/3001015#M5228</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-27T11:49:43Z</dc:date>
    </item>
  </channel>
</rss>

