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

Pt 2247 #686

Merged
merged 13 commits into from
May 21, 2024
Merged

Pt 2247 #686

merged 13 commits into from
May 21, 2024

Commits on Sep 18, 2023

  1. I had to correct few things in the script to have it working correctly:

    1) OR instead and in the if line 2042
    2) evaluate array create_user if it has some value
    3) filter out the user creation in Mariadb inside the Grants
    Tusamarco committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    8ad0bc0 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Fixing other small things and MariaDB specific,

    - Use of VIA
    - Use of USING
    - Incompatible syntax with MySQL
    - ADD IF NOT EXISTS
    - convert the script to us AS to maintain the hash as they are
    
    Add a parameter --convert-MariaDB as parameter (default false)
    Tusamarco committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    275ceb0 View commit details
    Browse the repository at this point in the history
  2. Fixed one issue (I introduced filtering the PASSWORD keyword)

    correct an IF condition
    removed a delete action on mysql.user. Always use DROP not delete
    Tusamarco committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    3be972e View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Significant refactor of the create in case of MySQL 8 and caching_sha…

    …2_password plugin.
    
    The problem is that when caching_sha2_password is used the character utilised in the string may be invalid for MySQL itself to process during creation time.
    Given that the password must be converted to HEX and then pushed as binary using the AS <bin password> format
    Tusamarco committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    b9be38d View commit details
    Browse the repository at this point in the history
  2. small bug in regex

    Tusamarco committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    b9675c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f767a9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #685 from Tusamarco/PT-2247-1212

    Pt 2247 1212
    Tusamarco authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    4a812d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Adding the option to use in session print_identified_with_as_hex as a…

    …n alternative to the conversion
    
    Param --print_identified_with_as_hex
    Tusamarco committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    e3a3d97 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #687 from Tusamarco/PT-2247-1212

    Adding the option to use in session print_identified_with_as_hex as a…
    Tusamarco authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    a8bb509 View commit details
    Browse the repository at this point in the history
  3. Adding a small check if we have MariaDB in order to prevent usage of …

    …print_identified_with_as_hex
    Tusamarco committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    1dc1c99 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #688 from Tusamarco/PT-2247-1212

    Adding a small check if we have MariaDB in order to prevent usage of …
    Tusamarco authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    0924e35 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    bc23d08 View commit details
    Browse the repository at this point in the history
  2. PT-2247 - pt-show-grants does not CREATE USER

    - Removed option print_identified_with_as_hex, because it was already
      implemented in the PT-2190 fix
    - Simplified patch
    - Kept CREATE USER/ALTER USER sequence and extra DELETE from mysql.user
      table
    - Added test case
    svetasmirnova committed May 16, 2024
    Configuration menu
    Copy the full SHA
    f3f4943 View commit details
    Browse the repository at this point in the history