1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added awsrds config option

This commit is contained in:
Noah Zalev 2021-11-17 17:24:43 -05:00
parent 05ee363a66
commit c5c27820c9
2 changed files with 2 additions and 0 deletions

1
db.js
View file

@ -1976,6 +1976,7 @@ module.exports.CreateDB = function (parent, func) {
// SSL options different on mariadb/mysql
var sslOptions = '';
if (obj.databaseType == 4) {
if (props.awsrds) { cmd += ' --single-transaction'; }
if (props.ssl) {
sslOptions = ' --ssl';
if (props.ssl.cacertpath) sslOptions = ' --ssl-ca=' + props.ssl.cacertpath;