Created
March 5, 2014 10:18
-
-
Save neko-fire/9364692 to your computer and use it in GitHub Desktop.
Reset mysql user password, needs to be run in save mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO mysql.user | |
| SET user = 'root', | |
| host = 'localhost', | |
| password = Password('wwPmz59DyjPYqa'), | |
| super_priv = 'y', | |
| select_priv = 'y', | |
| insert_priv = 'y', | |
| update_priv = 'y', | |
| delete_priv = 'y', | |
| create_priv = 'y', | |
| drop_priv = 'y', | |
| reload_priv = 'y', | |
| shutdown_priv = 'y', | |
| process_priv = 'y', | |
| file_priv = 'y', | |
| grant_priv = 'y', | |
| references_priv = 'y', | |
| index_priv = 'y', | |
| alter_priv = 'y', | |
| show_db_priv = 'y', | |
| create_tmp_table_priv = 'y', | |
| lock_tables_priv = 'y', | |
| execute_priv = 'y', | |
| repl_slave_priv = 'y', | |
| repl_client_priv = 'y', | |
| create_view_priv = 'y', | |
| show_view_priv = 'y', | |
| create_routine_priv = 'y', | |
| alter_routine_priv = 'y', | |
| create_user_priv = 'y'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment