The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / proxysql / proxysql-access-denied-for-user ▌

Operations Guides

ProxySQL error 1045 Access denied for user: credential rotation not propagated

Error 1045 is MySQL’s “Access denied for user.” In a ProxySQL environment it can surface at three independent authentication boundaries, and fixing the wrong one wastes the incident window. The typical trigger is a password rotation applied to one layer (backend MySQL, application config, or ProxySQL itself) without propagating it through ProxySQL’s three-layer configuration model.

The error string carries an immediate clue. (using password: YES) means a password was sent but did not match. (using password: NO) means no password was sent at all, which can indicate a client misconfiguration or, rarely, a version-specific bug. Most credential rotation incidents produce (using password: YES).

The authentication cascade is recognizable in the metrics: Access_Denied_Wrong_Password climbs while the Questions rate drops and Client_Connections_created stays above zero. Clients are actively trying to connect, failing at the proxy, and never reaching the query processor. The correct fix depends on which layer is rejecting the credential.

What this means

ProxySQL authenticates at three independent boundaries. Each uses its own credential store and its own propagation path.

Frontend (client to ProxySQL, port 6033). Clients authenticate against ProxySQL’s mysql_users table. ProxySQL validates the password the client sends against the password column for the matching username. If the password in mysql_users was updated but the application still sends the old password, every new connection fails with 1045.

Backend (ProxySQL to MySQL). When ProxySQL borrows a backend connection from the pool, it authenticates to the MySQL server using the same password from mysql_users. If the password was rotated on the backend but not updated in mysql_users, ProxySQL cannot establish backend connections. ConnERR rises, backends accumulate failures, and after the configured shun_on_failures threshold they are SHUNNED.

Monitor (ProxySQL monitor to MySQL). The monitor module uses a separate credential pair: mysql-monitor_username and mysql-monitor_password, configured as global variables, not in mysql_users. If these become stale after a backend rotation, health checks fail. ProxySQL cannot verify backend health and shuns backends that are actually fine. Data queries using the correct mysql_users password would succeed if they could reach the backend, but the monitor has already pulled the backend from rotation.

The three-layer configuration model adds another dimension. Changes via the admin interface land in MEMORY. They are not active until LOAD ... TO RUNTIME, and not durable across restarts until SAVE ... TO DISK. A credential update committed to MEMORY but never loaded to RUNTIME has no effect. One loaded to RUNTIME but never saved to DISK works until the next restart, then silently reverts.

flowchart TD
    A["Error 1045 reported"] --> B{"Access_Denied_Wrong_Password rising?"}
    B -->|"Yes"| C["Frontend: mysql_users mismatch"]
    B -->|"No"| D{"ConnERR rising on backends?"}
    D -->|"Yes"| E["Backend: mysql_users vs backend grant"]
    D -->|"No"| F{"Monitor_connect_check_ERR rising?"}
    F -->|"Yes"| G["Monitor: mysql-monitor_password stale"]
    F -->|"No"| H["Check other causes"]

Common causes

CauseWhat it looks likeFirst thing to check
Password rotated on backend MySQL, not updated in ProxySQL mysql_usersConnERR rising on all backends; backends SHUNNED; stats_mysql_errors shows errno 1045 from backend hostgroupsCompare mysql_users.password with the backend MySQL grant
Password updated in mysql_users but applications still send old passwordAccess_Denied_Wrong_Password rising; Client_Connections_aborted spiking; Questions droppingVerify what password the application is configured to send
Monitor password stale (mysql-monitor_password does not match backend)MySQL_Monitor_connect_check_ERR rising; backends SHUNNED despite being reachable directly; data queries may still work if mysql_users password is correctCheck mysql-monitor_password in global_variables against the backend grant
LOAD MYSQL USERS TO RUNTIME not executed after updatemysql_users (MEMORY) differs from runtime_mysql_users (RUNTIME); changes have no effectCompare password columns in both tables
SAVE MYSQL USERS TO DISK not executed after updateChanges work at runtime but revert after ProxySQL restartCheck the on-disk database or re-apply and save
ProxySQL cluster node not syncedError appears from one ProxySQL instance but not othersCheck stats_proxysql_servers_checksums for mysql_users divergence

Quick checks

All commands connect to the admin interface on port 6032. Replace default credentials (admin/admin) with your actual admin user and password.

# Global auth failure counter and impact signals
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT Variable_Name, Variable_Value FROM stats_mysql_global
      WHERE Variable_Name IN ('Access_Denied_Wrong_Password',
                              'Client_Connections_aborted',
                              'Client_Connections_created',
                              'Questions',
                              'ProxySQL_Uptime');"
# Per-backend connection errors (ConnERR increasing = backend auth failing)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT hostgroup, srv_host, srv_port, status,
             ConnUsed, ConnFree, ConnOK, ConnERR
      FROM stats_mysql_connection_pool;"
# stats_mysql_errors for errno 1045 (backend auth failures)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT * FROM stats_mysql_errors
      WHERE errno = 1045 ORDER BY last_seen DESC LIMIT 20;"
# Compare mysql_users (MEMORY) vs runtime_mysql_users (RUNTIME) for drift
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT username, password FROM mysql_users WHERE username='app_user';
      SELECT username, password FROM runtime_mysql_users WHERE username='app_user';"
# Monitor credentials (MEMORY vs RUNTIME)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT variable_name, variable_value FROM global_variables
      WHERE variable_name IN ('mysql-monitor_username','mysql-monitor_password');
      SELECT variable_name, variable_value FROM runtime_global_variables
      WHERE variable_name IN ('mysql-monitor_username','mysql-monitor_password');"
# Monitor check failure rates
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT Variable_Name, Variable_Value FROM stats_mysql_global
      WHERE Variable_Name LIKE 'MySQL_Monitor_connect_check%';"
# ProxySQL cluster checksums (if clustered)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT * FROM stats_proxysql_servers_checksums;"

How to diagnose it

  1. Identify the failing boundary. If Access_Denied_Wrong_Password is rising and Client_Connections_aborted is spiking while Questions drops, the problem is frontend: clients cannot authenticate to ProxySQL. If ConnERR is rising on backends and stats_mysql_errors shows errno 1045 from backend hostgroups, the problem is backend: ProxySQL cannot authenticate to MySQL. If MySQL_Monitor_connect_check_ERR is rising and backends are being SHUNNED, the monitor credentials are stale.

  2. Check for config layer drift. Compare mysql_users (MEMORY) with runtime_mysql_users (RUNTIME). If the password differs, the change was never loaded to runtime. This is the most common cause of “I updated the password but nothing changed.”

  3. Verify the password against the backend grant. Connect directly to a backend MySQL server (bypassing ProxySQL) using the password from mysql_users. If it fails, the password in mysql_users is wrong. If it succeeds but ProxySQL still reports ConnERR, confirm that runtime_mysql_users matches mysql_users.

  4. Check monitor credentials independently. Even if mysql_users is correct, stale mysql-monitor_password causes backends to be SHUNNED. Connect directly to the backend using mysql-monitor_username and mysql-monitor_password to verify they work.

  5. Check cluster sync lag. In a ProxySQL cluster, stats_proxysql_servers_checksums shows whether all nodes have the same mysql_users revision. A checksum mismatch means one node is serving stale credentials.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Access_Denied_Wrong_PasswordTracks frontend auth failures from wrong passwordsSustained increase with Questions dropping
Client_Connections_abortedClients rejected after connectingRising rate correlated with auth failures
Questions rateQuery throughput drops when auth blocks clients from the query processorSudden sustained drop below baseline
ConnERR per backendBackend connection failures including auth rejectionRising on all backends in a hostgroup simultaneously
stats_mysql_errors (errno 1045)Per-hostgroup, per-host error breakdownError 1045 rows from backend hostgroups
MySQL_Monitor_connect_check_ERRMonitor cannot connect to backendsSustained increase signals stale monitor credentials
Backend status (ONLINE / SHUNNED)Monitor shuns backends it cannot health-checkBackends SHUNNED despite being reachable directly

Fixes

The commands below modify ProxySQL configuration. Each LOAD ... TO RUNTIME activates changes immediately. Each SAVE ... TO DISK writes to the persistent SQLite database. Run them in order and verify between steps.

Frontend credentials: application sends wrong password to ProxySQL

If the password in mysql_users is correct (matches the backend) but applications are sending the old password, the fix is on the application side. If you rotated the password in mysql_users and need to push it to runtime:

UPDATE mysql_users SET password='new_password' WHERE username='app_user';
LOAD MYSQL USERS TO RUNTIME;
SAVE MYSQL USERS TO DISK;

To revert temporarily while applications catch up:

UPDATE mysql_users SET password='old_password' WHERE username='app_user';
LOAD MYSQL USERS TO RUNTIME;
SAVE MYSQL USERS TO DISK;

Backend credentials: ProxySQL sends wrong password to MySQL

Same fix path. The mysql_users.password column serves both layers: it validates client connections (frontend) and authenticates ProxySQL to the backend. Updating it fixes both simultaneously.

For zero-downtime rotation on ProxySQL v3.0+, consider dual passwords via the attributes column in mysql_users, which allows an additional_password to coexist with the primary.

ProxySQL documents dual passwords as a v3.0+ feature: store the secondary password under $.additional_password in attributes, then apply the normal LOAD/SAVE cycle for mysql_users.

Monitor credentials

Monitor credentials are global variables, not part of mysql_users. They require a separate load and save cycle:

UPDATE global_variables SET variable_value='new_password'
  WHERE variable_name='mysql-monitor_password';
LOAD MYSQL VARIABLES TO RUNTIME;
SAVE MYSQL VARIABLES TO DISK;

Config layer drift

If mysql_users (MEMORY) differs from runtime_mysql_users (RUNTIME), the change was never loaded:

LOAD MYSQL USERS TO RUNTIME;

If loaded to RUNTIME but never saved to DISK, it will revert on restart:

SAVE MYSQL USERS TO DISK;

ProxySQL cluster sync

In a cluster, credential changes must propagate to all nodes. After applying the change on one node, verify convergence via stats_proxysql_servers_checksums. If checksums do not converge, manually load and save on the lagging node.

Version-specific gotchas

  • admin-hash_passwords (deprecated in v2.6.0). Before v2.6.0, when admin-hash_passwords=true (the default), ProxySQL automatically hashed cleartext passwords in mysql_users during LOAD MYSQL USERS TO RUNTIME. The mysql_users table retained cleartext while runtime_mysql_users held hashes. Comparing the two tables would show different values by design, not drift. ProxySQL deprecated the variable in v2.6.0 and bootstraps that version and later to false.

  • Password storage format. ProxySQL accepts cleartext passwords and hashed formats. MySQL native password hashes use the * prefix; ProxySQL-supported caching_sha2_password hashes typically use the $A$0 prefix and are supported since ProxySQL v2.6.0. If the backend uses caching_sha2_password and your ProxySQL version stores the password in an incompatible format, authentication fails. A LOAD MYSQL USERS TO RUNTIME applies to authentication of future connections; after a rotation, check ConnOK, ConnERR, and backend errors to confirm how the pool transitions.

Prevention

  • Credential rotation runbook. Every password change must touch three places: mysql_users (or mysql-monitor_password for monitor), LOAD ... TO RUNTIME, and SAVE ... TO DISK. Missing any step produces either no effect or a silent reversion on restart.
  • Monitor config layer drift. Periodically compare mysql_users with runtime_mysql_users, and global_variables with runtime_global_variables for monitor credentials. No built-in metric detects this; it requires an explicit query comparison.
  • Rotate monitor credentials with backend credentials. The monitor uses a separate password. If you rotate the backend password, update mysql-monitor_password in the same change window.
  • Use dual passwords for zero-downtime rotation. MySQL 8.0+ supports retaining both a primary and a secondary password during rotation. ProxySQL v3.0+ supports an analogous feature via the attributes column. This eliminates the window where either the old or new password fails.
  • Verify cluster convergence. After any credential change in a clustered deployment, check stats_proxysql_servers_checksums to confirm all nodes have the same mysql_users revision.
  • Gate the auth cascade alert. Page only when Access_Denied_Wrong_Password is sustained AND Questions is dropping AND Client_Connections_created > 0 AND ProxySQL_Uptime > 600. This excludes cold starts, idle instances, and brief blips during rotation windows.

How Netdata helps

  • Per-second Access_Denied_Wrong_Password collection shows the exact moment credential propagation breaks or succeeds during a rotation window.
  • Correlating Access_Denied_Wrong_Password with Questions and Client_Connections_aborted in a single view distinguishes a frontend auth cascade from a backend connectivity problem without running separate admin queries.
  • Backend ConnERR per host reveals whether the problem is credential-wide (all backends failing) or isolated to one host.
  • Monitor check failure rates (MySQL_Monitor_connect_check_ERR) surface stale mysql-monitor_password before backends get SHUNNED.
  • Backend status changes (ONLINE to SHUNNED) correlated with monitor check errors distinguish “backend is unhealthy” from “ProxySQL cannot authenticate to a healthy backend.”