2013年11月28日

Could not open a connection to your authentication agent

摘要: 内部git服务只能使用证书进行验证,在本地创建证书文件后ssh-add 的时候总是报该错误;eval `ssh-agent -s`然后重新执行 ssh-add 即可。详细可以看:stackoverflow上的答案 阅读全文

posted @ 2013-11-28 16:21 red_goal 阅读(197) 评论(0) 推荐(0)

mysql 创建用户

摘要: 一台服务器跑多个应用,每个应用都有自己的数据库;最好新建一个用户,只有该应用数据库的所有权限;首先,先以root登录进去,然后:create user new_user@localhost identified by 'new_user_psw'@localhost 让用户只能在本地登录;然后创建新的数据库:create database new_database character set 'utf8';让新建用户获得所有权限:grant all privileges on new_database.* to new_user@localhost;最后刷新fl 阅读全文

posted @ 2013-11-28 11:54 red_goal 阅读(167) 评论(0) 推荐(0)

导航