do we ever need the mariadb client on the application server?

No. The MariaDB client is not required on the ServiceNow application server for normal operation.

ServiceNow connects to MariaDB through its JDBC driver, not the MariaDB command-line client.

ComponentRequired?Purpose
MariaDB CLI (mariadb)NoManual database administration and troubleshooting
JDBC driver JARYesServiceNow database connectivity
Bouncy Castle FIPS providerYesAccess to the BCFKS keystores
Client certificate and private keyYesAuthenticate ServiceNow to MariaDB
Root CA certificateYesVerify MariaDB’s certificate

When would we want the MariaDB client?

For troubleshooting, particularly to test mutual TLS independently of ServiceNow:

mariadb \
  --host=51.81.89.82 \
  --port=3306 \
  --user=servicenow \
  --password \
  --ssl-ca=root-ca.crt \
  --ssl-cert=client-cert.pem \
  --ssl-key=client-key.pem \
  --ssl-verify-server-cert

That command tests the database connection using PEM certificates, independently of Java and Bouncy Castle.

For Anthony’s installer: I would leave the MariaDB CLI out. The existing Java-based database login check is the appropriate place to validate the actual JDBC connection.

If JDBC fails but we need to isolate whether the problem is MariaDB TLS or Java/Bouncy Castle configuration, we can install the CLI temporarily for diagnostics.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *