Skip to content

Instantly share code, notes, and snippets.

@zhangdxchn
Last active August 4, 2020 18:24
Show Gist options
  • Save zhangdxchn/25596919c683347bb6b58a73ddf38f72 to your computer and use it in GitHub Desktop.
Save zhangdxchn/25596919c683347bb6b58a73ddf38f72 to your computer and use it in GitHub Desktop.
Install
# war
deps:git/maven
java -jar jenkins.war
# install mongodb-linux-x86—64-amazon-3.6.5
nyk.conf => auth=true
start: ./bin/mongod -f nyk.conf
# mongo shell
./bin/mongo 127.0.0.1:3170
## mysql 8 支
```
# create user
>create user 'root'@'%' identified by 'PASSWORD';
# alter user
>alter user 'root'@'%' identified with mysql_native_password by 'PASSWORD';
# drop user
>drop user 'root'@'%';
# add privileges
>grant all privileges on *.* 'root'@'%' with grant option;
# flush
>flush privileges;
```
##
https://dev.mysql.com/doc/refman/8.0/en/binary-installation.html
https://dev.mysql.com/doc/refman/8.0/en/drop-user.html
https://blog.csdn.net/vkingnew/article/details/81267223
https://blog.csdn.net/seventopalsy/article/details/80195246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment