Skip to content

Socket auth #77

Description

@stAn47

Hello, it would be really great if automysqlbackup supports socket authentication.

Main mods which are needed are:

  • if password is empty do not add --password to the command line (i'd prefer skipping whole authentication such as --user, --password ) if user is empty as well
  • if host is exactly "localhost" and port is empty or default, then do not add "--port" (currently works when setting port as empty string)

On mariadb 10.4 :
CREATE USER 'myuser'@'localhost'
IDENTIFIED VIA unix_socket
OR mysql_native_password USING PASSWORD('mypassword');

Best regards, Stan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions