<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Does the Server 2008 machine that I am using to access the MySQL db need some sort of client installed on it?&nbsp; Or some kind of authentication module?&nbsp; I only ask because I tried to telnet from MS-DOS, to verify connectivity and got a response that seemed to suggest it wasn&#8217;t being allowed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] <b>On Behalf Of </b>sagar naravane<br><b>Sent:</b> Tuesday, September 11, 2012 1:13 AM<br><b>To:</b> Syslog-ng users' and developers' mailing list<br><b>Subject:</b> Re: [syslog-ng] Syslog-NG/Log Analyzer<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Shouldn't&nbsp; <span style='font-size:9.0pt;font-family:"Courier New";color:seagreen;background:white'>'FQDN_for_mysql_<a href="http://server.com">server.com</a>'</span>&nbsp; be IP/Hostname of the server initiating connection and not the mysql server itself ?<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Saggu<o:p></o:p></p><div><p class=MsoNormal>On Mon, Sep 10, 2012 at 10:54 PM, James McDonald &lt;<a href="mailto:jmcdonald@lce.com" target="_blank">jmcdonald@lce.com</a>&gt; wrote:<o:p></o:p></p><div><div><div style='border:solid #C9D2D8 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt;line-height:13.65pt;background:white'><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333;background:#E1EBF2'>I finally got my syslog-ng servers to pass logs to the MySQL db, but was having some problems getting LogAnalzyer to access the db. I re-installed Log Analyzer but now I am getting an access denied error: </span><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:red;background:#E1EBF2'>Connection to the database server failed.&nbsp; Access denied for user 'syslog'@'FQDN_for_mysql_server.com' (using password: YES).</span><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333'><br><br><span style='background:#E1EBF2'>Here is the output of the grants for the 'syslog' user:</span></span><o:p></o:p></p></div><div style='border:solid #C9D2D8 1.0pt;border-bottom:solid #CCCCCC 1.0pt;padding:2.0pt 2.0pt 0in 2.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.65pt;background:white'><b><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333;text-transform:uppercase'>CODE:&nbsp;<a href="http://kb.monitorware.com/" target="_blank"><span style='color:#105289;text-decoration:none'>SELECT ALL</span></a></span></b><o:p></o:p></p></div><div style='border:solid #C9D2D8 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt;margin-left:.5in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.65pt;background:white'><code><span style='font-size:9.0pt;color:seagreen'>mysql&gt; show grants for 'syslog'@'FQDN_for_mysql_server.com';</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>+------------------------------------------------------------------------------------+</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>| Grants for <a href="mailto:syslog@FQDN_for_mysql_server.com" target="_blank">syslog@FQDN_for_mysql_server.com</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>+------------------------------------------------------------------------------------+</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>| GRANT USAGE ON *.* TO 'syslog'@'FQDN_for_mysql_server.com'&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>| GRANT ALL PRIVILEGES ON `Syslog`.* TO 'syslog'@'FQDN_for_mysql_server.com' |</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>+------------------------------------------------------------------------------------+</span></code><span style='font-size:9.0pt;font-family:"Courier New";color:seagreen'><br></span><code><span style='font-size:10.0pt;color:seagreen'>2 rows in set (0.00 sec)</span></code><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333'><br><br><span style='background:#E1EBF2'>And here is what my config.php looks like:</span><br><br><span style='background:#E1EBF2'>$CFG['DefaultSourceID'] = 'Source1';</span><br><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['ID'] = 'Source1';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['Name'] = 'Syslog';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['ViewID'] = 'SYSLOG';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['SourceType'] = SOURCE_DB;</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBTableType'] = 'syslogng';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBType'] = DB_MYSQL;</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBServer'] = 'ustc-mysql';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBName'] = 'Syslog';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBUser'] = 'syslog';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBPassword'] = 'pTRl819ELI0viRmXaEUO';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBTableName'] = 'SystemEvents';</span><br><span style='background:#E1EBF2'>$CFG['Sources']['Source1']['DBEnableRowCounting'] = false;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333;background:#E1EBF2'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial","sans-serif"'>Thanks,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial","sans-serif"'>James McDonald</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial","sans-serif"'>System Administrator</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial","sans-serif"'>RHCSA, Security+</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Arial","sans-serif"'><a href="mailto:jmcdonald@lce.com" target="_blank">jmcdonald@lce.com</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>______________________________________________________________________________<br>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br><br><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- <br>Regards,<br><br>Sagar Naravane<o:p></o:p></p></div></div></body></html>