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);