[syslog-ng]SQL Warnings (2)
Metal Gear
syslog-ng@lists.balabit.hu
Thu, 14 Apr 2005 18:08:52 +0600
------=_Part_2054_9466107.1113480532347
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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=3D20
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /www/htdocs/web/index.php on line 53=3D20
All logs from syslog-ng are logged to mysql (database syslog and table logs=
)
I have defined in db_fns.php
$result =3D3D 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
------=_Part_2054_9466107.1113480532347
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<pre>Hi all,<br><br><br>When i type <a href=3D"http://localhost/syslog/inde=
x.php">http://localhost/syslog/index.php</a> in my browser the following er=
rors 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=3D20
<br>Warning: mysql_fetch_array(): supplied argument is not a valid MySQL re=
sult resource in /www/htdocs/web/index.php on line 53=3D20<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 =3D3D mysql_pconnect("&quo=
t;, "", "");<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>
------=_Part_2054_9466107.1113480532347--