Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt new MariaDB v10.11.5 Support (additional related changes on top of original PR #771) #772

Merged

Conversation

vorburger
Copy link
Collaborator

@vorburger vorburger commented Sep 16, 2023

This PR adds a number of adaptions on top of PR #771 from @TheKnowles.

@TheKnowles FYI

String dbName = "mariaDB4jTestWSecurity"; // or just "test"
if (!"test".equals(dbName)) {
// mysqld out-of-the-box already has a DB named "test"
// in case we need another DB, here's how to create it first
db.createDB(dbName, "root", "");
db.createDB(dbName, "root", randomRootPassword);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good solution.

Maria 10.4 changed authentication where the root user now has an invalid password. So you have to "be" root in order to run commands OR as the user that owns the process (user.name here) has to run SET PASSWORD for the root account. This test could change over to just using the current user/owner, but I wanted to keep logic changes to minimum to account for system changes from 10.2.11 to 10.11.5.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test could change over to just using the current user/owner,

@TheKnowles feel free to raise a new PR re. this if you are motivated.

@vorburger vorburger force-pushed the vorburger-minor-changes-on-top-of-PR-771-for-MariaDB-v10.11.5 branch 2 times, most recently from cfd75a2 to 12b0db6 Compare September 18, 2023 21:17
@vorburger vorburger changed the title Minor changes on top of PR #771 for MariaDB v10.11.5 Adapt new MariaDB v10.11.5 Support (additional related changes on top of original PR #771) Sep 18, 2023
@vorburger vorburger force-pushed the vorburger-minor-changes-on-top-of-PR-771-for-MariaDB-v10.11.5 branch from 12b0db6 to 834f156 Compare September 18, 2023 21:37
@vorburger vorburger force-pushed the vorburger-minor-changes-on-top-of-PR-771-for-MariaDB-v10.11.5 branch from 834f156 to 6f4191e Compare September 18, 2023 22:14
@vorburger vorburger force-pushed the vorburger-minor-changes-on-top-of-PR-771-for-MariaDB-v10.11.5 branch from 6f4191e to 689af5c Compare September 18, 2023 22:14
includes bumping MariaDB v10.11.5 Windows binary to 10.11.5-fix1;
see #771 for details.
@vorburger vorburger force-pushed the vorburger-minor-changes-on-top-of-PR-771-for-MariaDB-v10.11.5 branch from 689af5c to b03b6fe Compare September 18, 2023 23:24
@vorburger vorburger marked this pull request as ready for review September 18, 2023 23:30
@vorburger vorburger merged commit 270ad09 into main Sep 18, 2023
@vorburger vorburger deleted the vorburger-minor-changes-on-top-of-PR-771-for-MariaDB-v10.11.5 branch September 18, 2023 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants