Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Dec 20, 2023
1 parent 9aff301 commit e03859f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Containers/Commands/MakeDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 with mysql_native_password by '$dbpassword'")) {
if (!$this->execute_mysql_command($terminal, "create user '$dbuser'@'%' identified by '$dbpassword'")) {
$this->error('User creation failed');
$this->execute_mysql_command($terminal, "drop database $dbname");
return self::FAILURE;
Expand Down

0 comments on commit e03859f

Please sign in to comment.