mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 21:49:43 -05:00
Added awsrds config option
This commit is contained in:
1
db.js
1
db.js
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user