Coder Social home page Coder Social logo

Comments (2)

dribblecastle avatar dribblecastle commented on August 22, 2024 1

Thanks for the quick reply @denisgcm. I followed your instructions but it didn't work until I created a mySQL user with 127.0.0.1 instead of localhost. Also, set the permissions according to the previously existing mysqld_exporter:localhost user. See below. The good news is things appear to be working as expected. Looking forward to using this tool as its improves, I just wish I had setup my Galera cluster with it initially so I could use more of the features.

CREATE USER 'mysqld_exporter'@'127.0.0.1'  IDENTIFIED BY 'monitoringpwd';
GRANT SELECT, PROCESS, REPLICATION CLIENT ON *.* TO 'mysqld_exporter'@'127.0.0.1';

from galera-manager-support.

denisgcm avatar denisgcm commented on August 22, 2024

There is an issue that we should fix. As a temporary workaround I can suggest that you log in to the Galera Manager server via ssh and run gmc cluster list (you will have to enter your Galera Manager admin user and password). You will get a similar output:

user@ip:~$ gmc cluster list
Enter auth name: admin
Enter auth password:
+----+---------+------+--------------+--------------+-------------+---------------+---------------------+------------------+
| ID |  NAME   | UUID |    SYSTEM    |  DB ENGINE   | HOSTS/NODES | ROOT PASSWORD | MONITORING PASSWORD | BACKUP PASSWORD  |
+----+---------+------+--------------+--------------+-------------+---------------+---------------------+------------------+
|  2 | sample  |      | ubuntu:20.04 | mariadb:10.5 | 3/3         | rootpwd       | monitoringpwd       | backupgpwd       |
+----+---------+------+--------------+--------------+-------------+---------------+---------------------+------------------+

Pick your value for monitoringpwd and update the password for the mysqld_exporter user accordingly. After you do that, the stats should start working.

Please let me know if it helped.

from galera-manager-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.