Skip to content

Commit

Permalink
Add tool to fix the permissions of mysql.
Browse files Browse the repository at this point in the history
  • Loading branch information
juagargi committed Aug 16, 2023
1 parent 996934b commit 5fca867
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/fix_access.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

str="ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY '';
FLUSH PRIVILEGES;
"
echo "$str" | sudo mysql

0 comments on commit 5fca867

Please sign in to comment.