@@ -184,6 +184,14 @@ class Mysqldump extends SimulatorExecutable implements Simulator, Restorable
184184 */
185185 private $ gtidPurged ;
186186
187+ /**
188+ * SSL CA
189+ * --ssl-ca
190+ *
191+ * @var string
192+ */
193+ private $ sslCa ;
194+
187195 /**
188196 * Dump procedures and functions
189197 * --routines
@@ -220,6 +228,7 @@ public function setup(array $conf = [])
220228 $ this ->user = Util \Arr::getValue ($ conf , 'user ' , '' );
221229 $ this ->password = Util \Arr::getValue ($ conf , 'password ' , '' );
222230 $ this ->gtidPurged = Util \Arr::getValue ($ conf , 'gtidPurged ' , '' );
231+ $ this ->sslCa = Util \Arr::getValue ($ conf , 'sslCa ' , '' );
223232 $ this ->hexBlob = Util \Str::toBoolean (Util \Arr::getValue ($ conf , 'hexBlob ' , '' ), false );
224233 $ this ->quick = Util \Str::toBoolean (Util \Arr::getValue ($ conf , 'quick ' , '' ), false );
225234 $ this ->lockTables = Util \Str::toBoolean (Util \Arr::getValue ($ conf , 'lockTables ' , '' ), false );
@@ -331,6 +340,7 @@ protected function createExecutable(Target $target) : Executable
331340 ->lockTables ($ this ->lockTables )
332341 ->dumpBlobsHexadecimal ($ this ->hexBlob )
333342 ->addGTIDStatement ($ this ->gtidPurged )
343+ ->useSslCa ($ this ->sslCa )
334344 ->useCompression ($ this ->compress )
335345 ->skipExtendedInsert ($ this ->skipExtendedInsert )
336346 ->dumpTables ($ this ->tables )
0 commit comments