Deployment Architecture

MySQLConnector : "Can't connect to MySQL server" error

krussell101
Path Finder

I just installed the mySQLConnector app.

Added one database connection, one "spec".

In the app, clicked on Explore your MySQL databases. In the Select schema box I clicked on View Results. This puts the following in the MySQLConnector search bar "| mysqlquery spec=gp-prod query="show databases""

The result is

 (2003, "Can't connect to MySQL server on 'my_URL_here' (110)")

Is there some other configuration I need to do before this will work?

krussell101
Path Finder

I have the answer! I am a doofus. That's the answer. We're running our system in AWS. I needed to add the splunk security group to the DB security group. DOH!

krussell101
Path Finder

Didn't try. Will do so today and get back to you. Thanks for the "next steps". Needed that.

0 Karma

dart
Splunk Employee
Splunk Employee

Can you use the same credentials to connect from the Splunk system via the commandline mysql tools to the remote mysql server?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...