From 38c36f11ded28b9043b45b83b9a823e03f961c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 10 Aug 2020 19:29:32 +0200 Subject: [PATCH] adding --- app/Commands/MariadbInstallCommand.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Commands/MariadbInstallCommand.php b/app/Commands/MariadbInstallCommand.php index a0d44d8..d8262a9 100644 --- a/app/Commands/MariadbInstallCommand.php +++ b/app/Commands/MariadbInstallCommand.php @@ -119,9 +119,6 @@ class MariadbInstallCommand extends Command exec('sudo mysql -u root -e "UPDATE mysql.user SET plugin=\'\' where User=\'root\';"'); } - // update privileges - //exec('sudo mysql -u root --password='.$password.' -e "FLUSH PRIVILEGES;"'); - file_put_contents(self::MCP_LOG_FILE, "Mariadb installed\nuser: root\npassword: $password\n--\n", FILE_APPEND); $this->info('Mariadb installing...Success! \o/ Check '.self::MCP_LOG_FILE);