Kaushal, I would start with your configuration being wrong. Database &quot;smspay&quot; is not equal to Database &quot;SMSPAY&quot;, which is what it should be from your show tables command. Same thing for SMSIN. <br><br><div class="gmail_quote">
On Tue, Dec 22, 2009 at 6:38 AM, Kaushal Shriyan <span dir="ltr">&lt;<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Dec 21, 2009 at 4:53 PM, Kaushal Shriyan<br>
&lt;<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; I am running collectd version 4.9.0 on Ubuntu 8.04 Hardy Server.<br>
&gt;<br>
&gt; ############################################################################################<br>
&gt; &lt;Plugin mysql&gt;<br>
&gt;        &lt;Database smspay&gt;<br>
&gt;                Host &quot;localhost&quot;<br>
&gt;                User &quot;nagios&quot;<br>
&gt;                Password &quot;&quot;<br>
&gt;                Database &quot;smspay&quot;<br>
&gt;                Socket &quot;/var/run/mysqld/mysqld1.sock&quot;<br>
&gt; #               MasterStats true<br>
&gt;        &lt;/Database&gt;<br>
&gt; #<br>
&gt;        &lt;Database smsin&gt;<br>
&gt;                Host &quot;localhost&quot;<br>
&gt;                User &quot;nagios&quot;<br>
&gt;                Password &quot;&quot;<br>
&gt;                Database &quot;smsin&quot;<br>
&gt;                Socket &quot;/var/run/mysql/mysqld2.sock&quot;<br>
&gt; #               SlaveStats true<br>
&gt; #               SlaveNotifications true<br>
&gt;        &lt;/Database&gt;<br>
&gt; &lt;/Plugin&gt;<br>
&gt;<br>
&gt; # mysql -u nagios -h localhost -S /var/run/mysqld/mysqld1.sock<br>
&gt; Welcome to the MySQL monitor.  Commands end with ; or \g.<br>
&gt; Your MySQL connection id is 50<br>
&gt; Server version: 5.0.51a-3ubuntu5.4-log (Ubuntu)<br>
&gt;<br>
&gt; Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the buffer.<br>
&gt;<br>
&gt; mysql&gt; show databases;<br>
&gt; +--------------------+<br>
&gt; | Database           |<br>
&gt; +--------------------+<br>
&gt; | information_schema |<br>
&gt; | SMSPAY             |<br>
&gt; | mysql              |<br>
&gt; +--------------------+<br>
&gt; 3 rows in set (0.00 sec)<br>
&gt;<br>
&gt; mysql&gt; quit<br>
&gt; Bye<br>
&gt; # mysql -u nagios -h localhost -S /var/run/mysqld/mysqld2.sock<br>
&gt; Welcome to the MySQL monitor.  Commands end with ; or \g.<br>
&gt; Your MySQL connection id is 23<br>
&gt; Server version: 5.0.51a-3ubuntu5.4-log (Ubuntu)<br>
&gt;<br>
&gt; Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the buffer.<br>
&gt;<br>
&gt; mysql&gt; show databases;<br>
&gt; +--------------------+<br>
&gt; | Database           |<br>
&gt; +--------------------+<br>
&gt; | information_schema |<br>
&gt; | SMSIN              |<br>
&gt; | mysql              |<br>
&gt; +--------------------+<br>
&gt; 3 rows in set (0.00 sec)<br>
&gt;<br>
&gt; mysql&gt;<br>
&gt; ############################################################################################<br>
&gt;<br>
&gt; I get  [2009-12-21 03:12:22] mysql_real_connect failed: Access denied<br>
&gt; for user &#39;root&#39;@&#39;localhost&#39; (using password: NO)<br>
&gt; [2009-12-21 03:12:22] read-function of plugin `mysql&#39; failed. Will<br>
&gt; suspend it for 10 seconds.<br>
&gt;<br>
&gt; Please suggest/guide.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Kaushal<br>
&gt;<br>
<br>
Hi Again,<br>
<br>
Any Updates for my earlier post to this Mailing List ?<br>
<br>
Thanks and Regards,<br>
<br>
Kaushal<br>
<br>
_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks, <br><br>Richard Shade<br>Integration Engineer<br>RightScale - <a href="http://www.rightscale.com/">http://www.rightscale.com/</a><br>phone: 8055004164x1018<br><br>
RightScale User Meetup<br>Real Customers. Real Deployments. Real Benefits. NO HYPE!<br>November 2. Register Today: <a href="http://www.RightScale.com/meetup">www.RightScale.com/meetup</a><br>