-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Adapt new MariaDB v10.11.5 Support (additional related changes on top of original PR #771) #772
Conversation
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); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
mariaDB4j/src/test/java/ch/vorburger/mariadb4j/tests/MariaDB4jSampleTutorialTest.java
Outdated
Show resolved
Hide resolved
DBs/mariaDB4j-db-10.11.5/mariaDB4j-db-winx64-10.11.5/prepare.xml
Outdated
Show resolved
Hide resolved
cfd75a2
to
12b0db6
Compare
12b0db6
to
834f156
Compare
834f156
to
6f4191e
Compare
6f4191e
to
689af5c
Compare
includes bumping MariaDB v10.11.5 Windows binary to 10.11.5-fix1; see #771 for details.
689af5c
to
b03b6fe
Compare
This PR adds a number of adaptions on top of PR #771 from @TheKnowles.
@TheKnowles FYI