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