编辑mysql的配置文件/etc/mysql/my.cnf,在[mysqld]段下加入一行skip-grant-tables sudo service mysql restart 用空密码进入mys...
# mysql  

ufw insert 4 allow proto tcp from 172.16.237.192 to any port 3306 ufw status numbered ufw delete 2 禁...
# ubuntu   # ufw  

mysql> use mysql mysql> GRANT ALL ON *.* to root@'172.16.237.192' IDENTIFIED BY '1...
# mysql  

export GOROOT=/opt/go export PATH=$PATH:$GOROOT/bin:GOPATH/bin export GOPATH=$HOME/goproject
# go   # golang