Skip to content

Commit 2df6c51

Browse files
committed
Fix mysql password warning
1 parent acea2c3 commit 2df6c51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/CliTools/Console/Command/Sync/AbstractCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ protected function createLocalMySqlCommand($database = null)
10621062

10631063
// Add password
10641064
if (DatabaseConnection::getDbPassword()) {
1065-
$command->addArgumentTemplate('-p%s', DatabaseConnection::getDbPassword());
1065+
$command->addEnvironmentVar('MYSQL_PWD', DatabaseConnection::getDbPassword());
10661066
}
10671067

10681068

0 commit comments

Comments
 (0)