From 9ecc8e83dd5fe9414496861708503e6f36c566ec Mon Sep 17 00:00:00 2001 From: denisdulici Date: Thu, 21 Nov 2019 19:41:33 +0300 Subject: [PATCH] added default db username --- app/Console/Commands/Install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index 54e561d75..b41745f2d 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -31,7 +31,7 @@ class Install extends Command {--db-host=localhost : Database host} {--db-port=3306 : Port of the database host} {--db-name= : Name of the database} - {--db-username= : Username to use to access the database} + {--db-username=root : Username to use to access the database} {--db-password= : Password to use to access the database} {--company-name=My Company : Name of the company} {--company-email=my@company.com : Email of the company} @@ -145,7 +145,7 @@ class Install extends Command } if (empty($this->db_username)) { - $this->db_username = $this->ask('What is the database username?'); + $this->db_username = $this->ask('What is the database username?', 'root'); } if (empty($this->db_password)) {