Skip to content

Instantly share code, notes, and snippets.

@swanwish
Created January 28, 2022 09:43
Show Gist options
  • Save swanwish/2fc885f6f29e77d77c07160078b3c2f0 to your computer and use it in GitHub Desktop.
Save swanwish/2fc885f6f29e77d77c07160078b3c2f0 to your computer and use it in GitHub Desktop.
The command how to user mysql_config_editor to set the login path.
$> mysql_config_editor set --login-path=client
         --host=localhost --user=localuser --password
Enter password: enter password "localpass" here
$> mysql_config_editor set --login-path=remote
         --host=remote.example.com --user=remoteuser --password
Enter password: enter password "remotepass" here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment