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

Support mysql 8.4 on CentOS Stream 10 #376

Merged
merged 17 commits into from
Sep 19, 2024
Merged

Support mysql 8.4 on CentOS Stream 10 #376

merged 17 commits into from
Sep 19, 2024

Commits on Aug 8, 2024

  1. Moving sources from 8.0 -> 8.4

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    798aaf0 View commit details
    Browse the repository at this point in the history
  2. Copy version 8.4 back to 8.0

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    9cbd9a8 View commit details
    Browse the repository at this point in the history
  3. Add changes for version 8.4

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5f818c4 View commit details
    Browse the repository at this point in the history
  4. Update Documentation and Makefile

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    ecdf5e8 View commit details
    Browse the repository at this point in the history
  5. Couple fixes caught by testing

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    c1352ad View commit details
    Browse the repository at this point in the history
  6. Some Dockerfile fixes, so we have similar structure

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    44b3091 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Use authentication_policy instead of deprecated default_authenticatio…

    …n_plugin variable
    
    In order to maintain strong authentication by default, unless a user changes
    the setting by setting MYSQL_AUTHENTICATION_POLICY or MYSQL_DEFAULT_AUTHENTICATION_PLUGIN,
    value 'caching_sha2_password,,' will be used, which means caching_sha2_password will be
    required as the first factor and 2nd and 3rd factor would be optional.
    
    If MYSQL_DEFAULT_AUTHENTICATION_PLUGIN is set and MYSQL_AUTHENTICATION_POLICY is not,
    the authentication_policy will be set to 'MYSQL_DEFAULT_AUTHENTICATION_PLUGIN,,'
    hhorak committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f7c7129 View commit details
    Browse the repository at this point in the history
  2. Add procps-ng that is not installed in c10s by default

    procps-ng ships pgrep tool that is used to monitor processes when waiting for mysqld to shutdown properly
    hhorak committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    34a2ddc View commit details
    Browse the repository at this point in the history
  3. improve doc

    hhorak committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    94d8049 View commit details
    Browse the repository at this point in the history
  4. Use sha256_password for testing auth plugin

    the reason is that starting MySQL 8.4, mysql_native_password is not available unless explicitly enabled in the server configuration.
    hhorak committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    6d55b90 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Remove calls of mysql_upgrade that is removed in 8.4 and NooP before …

    …anyway
    
    Starting 8.0.16, mysql_upgrade became NooP and server executes all actions
    automatically when necessary. After mysql_upgrade being labeled as
    deprecated since this version, it is missing in 8.4.x entirely.
    
    In addition to that, the file mysql_upgrade_info file has been deprecated
    as well and removed in 8.4.x as well, which makes all the tests done
    around upgrade and mysql_upgrade_info invalid.
    
    Since we have a recent enough version in production for enough time,
    it seems ok to remove the logic about upgrading the datadir entirely from
    the container image and leave everything on the server itself.
    
    The only datadir actions that seem to make sense even in 8.4.x are
    analyze and optimize, so those are kept untouched.
    hhorak committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    1400479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acd003b View commit details
    Browse the repository at this point in the history
  3. Refactor tests to fail when something gets wrong

    Many cases were not guarded by ct_check_testcase_result call.
    
    Also removes warnings like:
    egrep: warning: egrep is obsolescent; using grep -E
    
    Some mysql_cmd calls and its output is not relevant for tests, do not print it.
    hhorak committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    777e9e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf7ff81 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Do not mentioned RUN twice. Typo

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    128c62b View commit details
    Browse the repository at this point in the history
  2. Remove obsoleted functions

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    139c069 View commit details
    Browse the repository at this point in the history
  3. Remove -q from grep command. We want to see an output

    Signed-off-by: Petr "Stone" Hracek <[email protected]>
    phracek committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    75a9379 View commit details
    Browse the repository at this point in the history