Skip to content

Commit

Permalink
Allow starting as root user
Browse files Browse the repository at this point in the history
This change sets the mysql --user flag to Java's user.name
property which should allow this library to be more flexible
when used within containers that use the root user
  • Loading branch information
ZacBlanco authored and tdcmeehan committed Jan 10, 2025
1 parent 5733e95 commit 36775c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<String> getStartArguments()
{
return ImmutableList.of(
"--no-defaults",
"--user=" + System.getProperty("user.name"),
"--skip-mysqlx",
"--default-time-zone=+00:00",
"--innodb-flush-method=nosync",
Expand Down

0 comments on commit 36775c1

Please sign in to comment.