[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    [syslog-ng]SQL Warnings (2)
From:       Metal Gear <finattack () gmail ! com>
Date:       2005-04-14 12:08:52
Message-ID: 110c7844050414050843dd6a8b () mail ! gmail ! com
[Download RAW message or body]

Hi all,


When i type http://localhost/syslog/index.php in my browser the
following errors comes up

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /www/htdocs/web/index.php on line 35=20
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /www/htdocs/web/index.php on line 53=20

All logs from syslog-ng are logged to mysql (database syslog and table logs)

I have defined in db_fns.php

$result =3D mysql_pconnect("", "", "");
becauz i have made a user mysql with no password and when i write
mysql on shell in connects directly.

Your help in this regard would highly be appreciated


Thanks

[Attachment #3 (text/html)]

<pre>Hi all,<br><br><br>When i type <a \
href="http://localhost/syslog/index.php">http://localhost/syslog/index.php</a> in my \
browser the following errors comes up<br><br>Warning: mysql_fetch_array(): supplied \
argument is not a valid MySQL result resource in /www/htdocs/web/index.php on line \
35=20 <br>Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result \
resource in /www/htdocs/web/index.php on line 53=20<br><br>All logs from syslog-ng \
are logged to mysql (database syslog and table logs)<br><br> I have defined in \
db_fns.php<br><br>$result =3D mysql_pconnect(&quot;&quot;, &quot;&quot;, \
&quot;&quot;);<br>becauz i have made a user mysql with no password and when i write \
mysql on shell in connects directly.<br><br>Your help in this regard would highly be \
appreciated <br><br><br>Thanks</pre>


_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic