Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Why is MySQL plugin unable to report to SQL DB?

plugins

#1

Answer:

The MySQL plugin reports that it cannot connect to the database but I used the password that it came with. Why?

The New Relic MySQL plugin requires that a user is configured with permission to connect to the database in order to send data to New Relic. The most common reason that the plugin is unable to connect is due to the password being entered incorrectly in the configuration file.

If you have followed all the they instructions a user with a password was created for you by default. When using this default password, you should not add a password to the configuration file.

[
  {
    "name" : "unique name of your MySQL Instance",
    "host" : "localhost",
    "metrics" : "status,newrelic",
    "user" : "newrelic"
  }
]