diff --git a/app/Containers/Commands/MakeDatabase.php b/app/Containers/Commands/MakeDatabase.php index fe45935..f4246cd 100644 --- a/app/Containers/Commands/MakeDatabase.php +++ b/app/Containers/Commands/MakeDatabase.php @@ -30,7 +30,7 @@ public function handle(DockerService $docker_service, TerminalService $terminal) return self::FAILURE; } - if (!$this->execute_mysql_command($terminal, "create user '$dbuser'@'%' identified by '$dbpassword'")) { + if (!$this->execute_mysql_command($terminal, "create user '$dbuser'@'%' identified with mysql_native_password by '$dbpassword'")) { $this->error('User creation failed'); $this->execute_mysql_command($terminal, "drop database $dbname"); return self::FAILURE;