From ffd32e38c10ff84a323ca6dfa872d14c62a78958 Mon Sep 17 00:00:00 2001 From: Jan Vansteenlandt Date: Sat, 4 Mar 2017 21:16:14 +0100 Subject: [PATCH] Add password to the job for a mysql resource --- app/Tdt/Core/Definitions/DefinitionController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Tdt/Core/Definitions/DefinitionController.php b/app/Tdt/Core/Definitions/DefinitionController.php index 4f654f08..9f9b5c10 100755 --- a/app/Tdt/Core/Definitions/DefinitionController.php +++ b/app/Tdt/Core/Definitions/DefinitionController.php @@ -157,6 +157,7 @@ public function createLinkJob($uri, $input) $params['extract']['port'] = @$input['mysql_port']; $params['extract']['query'] = $input['query']; $params['extract']['username'] = $input['mysql_username']; + $params['extract']['password'] = $input['mysql_password']; $params['extract']['collation'] = @$input['collation']; } @@ -253,6 +254,7 @@ private function editLinkedJob($uri, $input) $params['extract']['port'] = @$input['mysql_port']; $params['extract']['query'] = $input['query']; $params['extract']['username'] = $input['mysql_username']; + $params['extract']['password'] = $input['mysql_password']; $params['extract']['collation'] = @$input['collation']; }