链接mongo
mongo --host 127.0.0.1
链接redis
redis-cli -h 127.0.0.1 -p 6389 -a kdjnfj
链接mysql
mysql -h 127.0.0.10 -u buzz -p
希望对你有帮助~