Good day
While trying to run the mysqld_exporter on the database server directly , I get the following error :
INFO[0000] Error scraping slave state: Error 1045: Access denied for user 'user'@'::1' (using password: YES) file=mysqld_exporter.go line=824
I have setup the user for both localhost and 127.0.0.1 , however it seems to be trying to use the ipv6 address, however we do not use ipv6 yet at all.
How can I resolve this.
using mysqld_exporter-0.7.1.linux-amd64
Any assistance will be appreciated.
Thank you.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqM_5x0JSX3cbUu2vYYiQ_3zuE43HgDEjnPJL%2BVV2KFp_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I found out that it still connects on ipv4 as well, however that error keeps on repeating for the ipv6.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqPCJoVJMQ7NQ%2BjuY2YDMkj3guS%2BKNUgfO5BLX97QppfpA%40mail.gmail.com.
The MySQL exporter listens on ipv4 to be scraped, then when scraped (or thereabouts) it connects to MySQL using the connection string provided in it's config.
The error messages says that MySQL isn't listening on ipv6.
I have a feeling you should change the configured connection string to use 127.0.0.1 instead of localhost, which will not effect the listening ip for the exporter.
Nicholas
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqM_5x0JSX3cbUu2vYYiQ_3zuE43HgDEjnPJL%2BVV2KFp_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqPCJoVJMQ7NQ%2BjuY2YDMkj3guS%2BKNUgfO5BLX97QppfpA%40mail.gmail.com.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqOgU8ph2h4EiZhu3sjCQC_Vi_dbv3EYoUtG9vErDe3zfw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqM_5x0JSX3cbUu2vYYiQ_3zuE43HgDEjnPJL%2BVV2KFp_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqPCJoVJMQ7NQ%2BjuY2YDMkj3guS%2BKNUgfO5BLX97QppfpA%40mail.gmail.com.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqOgU8ph2h4EiZhu3sjCQC_Vi_dbv3EYoUtG9vErDe3zfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Can you paste us your my.cnf?
Nicholas
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqM_5x0JSX3cbUu2vYYiQ_3zuE43HgDEjnPJL%2BVV2KFp_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqPCJoVJMQ7NQ%2BjuY2YDMkj3guS%2BKNUgfO5BLX97QppfpA%40mail.gmail.com.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqOgU8ph2h4EiZhu3sjCQC_Vi_dbv3EYoUtG9vErDe3zfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqNpxCtanWfB9PvsnD%3DZD9XtG-VHJ4-MMqnQ8%3DWKXraiTQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqM_5x0JSX3cbUu2vYYiQ_3zuE43HgDEjnPJL%2BVV2KFp_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqPCJoVJMQ7NQ%2BjuY2YDMkj3guS%2BKNUgfO5BLX97QppfpA%40mail.gmail.com.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqOgU8ph2h4EiZhu3sjCQC_Vi_dbv3EYoUtG9vErDe3zfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqNpxCtanWfB9PvsnD%3DZD9XtG-VHJ4-MMqnQ8%3DWKXraiTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqM_5x0JSX3cbUu2vYYiQ_3zuE43HgDEjnPJL%2BVV2KFp_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqPCJoVJMQ7NQ%2BjuY2YDMkj3guS%2BKNUgfO5BLX97QppfpA%40mail.gmail.com.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqOgU8ph2h4EiZhu3sjCQC_Vi_dbv3EYoUtG9vErDe3zfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--I am a bomb technician...If you see me running, TRY TO KEEP UP!
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAAEZYqNpxCtanWfB9PvsnD%3DZD9XtG-VHJ4-MMqnQ8%3DWKXraiTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.