Last active
April 9, 2018 05:45
-
-
Save wynemo/4c54dde45170cdecffed34433a143c16 to your computer and use it in GitHub Desktop.
scripts using on ygomi's computer, os version: ubuntu 14.04
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
create database cm_data; | |
CREATE USER 'devops'@'localhost' IDENTIFIED BY 'password'; | |
CREATE USER 'devops'@'%' IDENTIFIED BY 'password'; | |
GRANT ALL ON cm_data.* TO 'devops'@'localhost'; | |
GRANT ALL PRIVILEGES ON cm_data.* To 'devops'@'%'; | |
DROP USER 'devops'@'%'; | |
DROP USER 'devops'@'localhost'; | |
SELECT User, Host, Password FROM mysql.user; |
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
cpulimit -l 20 -p $(ps aux|grep -i xiadan|grep -v grep|awk '{ print $2 }') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment