Skip to content

Instantly share code, notes, and snippets.

@AustinWinstanley
Created April 24, 2017 19:05
Show Gist options
  • Select an option

  • Save AustinWinstanley/8dc1e071a12342ff7ebc9cecb8f471ab to your computer and use it in GitHub Desktop.

Select an option

Save AustinWinstanley/8dc1e071a12342ff7ebc9cecb8f471ab to your computer and use it in GitHub Desktop.
Authorize root access outside of sudo #MariaDB
-- Insecure, do not use in production
UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE user = 'root' AND plugin = 'unix_socket';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment