Browse Source

adding

release/0.1
Björn 4 years ago
parent
commit
38c36f11de
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      app/Commands/MariadbInstallCommand.php

+ 0
- 3
app/Commands/MariadbInstallCommand.php View File

@ -119,9 +119,6 @@ class MariadbInstallCommand extends Command
exec('sudo mysql -u root -e "UPDATE mysql.user SET plugin=\'\' where User=\'root\';"'); 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); 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); $this->info('Mariadb installing...Success! \o/ Check '.self::MCP_LOG_FILE);


Loading…
Cancel
Save