Skip to main content

MySQL

MySQL is a widely-used open-source relational database management system (RDBMS) that stores and manages structured data using SQL (Structured Query Language). As one of the most popular database platforms globally, MySQL powers countless applications, websites, and enterprise systems, providing reliable, scalable data storage and retrieval capabilities.

CategoryDatabase
DirectionQuery source
Sign-inNone
Query languagesSTIX, MySQL
Query templates1
Websitemysql.com

Before you start​

warning

The setup page can't take credentials for MySQL yet. Create the connection, then contact Huntbase support to finish signing it in.

For the vendor's own instructions, see MySQL GRANT documentation.

Connect MySQL​

  1. Go to Connections and click New connection, or click New connection on the MySQL product page.
  2. On Product, pick MySQL and choose the Owner.
  3. On Details, give the connection a Name and, optionally, a Description.
  4. On Connect, fill in the settings and credentials described below.
  5. On Verify, review the summary and click Create & check.

For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.

Settings​

Where your MySQL lives:

FieldRequiredNotes
Server AddressYesSpecify the IP address or hostname of the data source.
PortYesSet the port number that is associated with the hostname or IP address. Defaults to 3306.
DatabaseYesThe name of the database that holds the table.
Self-Signed Cert (PEM)No

Advanced settings​

These settings are under Advanced. You can usually leave them alone.

FieldRequiredNotes
Connection certificateNoSelf-signed SSL certificate and CA content (root and intermediate) of the data source.
TableYesThe name of the single table to query.

Query it​

Once connected, MySQL can serve these languages in a query tab, and Scout can use it when you ask in Auto:

LanguageUse it for
STIXSTIX patterns for indicator sweeps, translated into the product's native search.
MySQLNative MySQL, sent as written.

Example: MySQL​

Recent authentication log entries for a user — Raw SQL passthrough to retrieve recent auth_log rows for a user.

SELECT * FROM auth_log WHERE user = '{{username}}' LIMIT 100

MySQL ships with 1 query template. Find them in Library › Queries — see Query templates.

Next steps​