- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 yo 报错
rror: EACCES: permission denied, open '/root/.config/configstore/insight-yo.json' You don't have access to this file. 命令行输入:chmod g+rwx /root /root/.config /root/.config/configstore
2017-01-07 14:12:29 858
原创 Mac 安装mysql遇到的坑
我开始用的是brew安装的mysql,但是运行报mysql.sock文件错误,网上找方法也没解决就选择去官网下载安装了。 安装下一步就好了,但是这有个坑,新版的mysql会给root生成一个临时密码,我特么居然给忽略了。然后就出现下面这种情况了 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using pass
2017-01-04 22:05:35 613
原创 MySql配置主从
我的配置是基于Ubuntu系统配置 首先要配置主从上mysql的my.conf文件。不同的版本位置不一样,先whereis my.conf就好了 主的配置 log_bin = mysql-bin server_id=10 (默认是1 最好别用,容易引起混淆) 然后进去主的 mysql 给从分配一个账号 GRANT REPLICATION SLAVE,REPLICATION CLIE
2017-01-04 16:07:49 291
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人