首页
统计
留言
Search
1
Konsole 和 oh-my-zsh 的配置与使用
1,428 阅读
2
docker启动报错
817 阅读
3
wsl2使用windows下v2ray的代理
751 阅读
4
go-stress-testing 压力测试
496 阅读
5
ssh-agent手动添加sshkey报错
493 阅读
全部
PHP
Linux
软路由
杂项
Sql
Go
登录
Search
标签搜索
kubuntu
docker
mysql
pgsql
git
csv
shell
wine
linux
oh-my-zsh
wps
gost
起名
redis
ip
crontab
mac
nginx
wss
docker-compose
JyPony
累计撰写
49
篇文章
累计收到
0
条评论
首页
栏目
全部
PHP
Linux
软路由
杂项
Sql
Go
页面
统计
留言
搜索到
49
篇与
的结果
2021-06-11
docker启动报错
docker 每次都要sudo, 或者其他服务启动的时候,提示上述的错误ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?添加docker group:sudo groupadd docker将当前用户加入docker group内sudo gpasswd -a ${USER} docker重启dockersudo systemctl restart docker切换当前会话到新 group 或者重启 X 会话newgrp - docker
2021年06月11日
817 阅读
0 评论
0 点赞
2021-06-11
正式环境网站目录权限
指定用户跟用户组chown -R www.www /data/code/配置文件夹权限find /data/code/ -type d -exec chmod 755 {} \;配置文件权限find /data/code/ -type f -exec chmod 644 {} \;
2021年06月11日
442 阅读
0 评论
0 点赞
2021-06-11
创建postgres帐号
切换postgres用户sudo -i -u postgres进入Postgres数据库psql创建root帐号create user root with login password '123456';将root帐号提升为超级帐号ALTER USER root WITH SUPERUSER;
2021年06月11日
390 阅读
0 评论
0 点赞
2021-06-11
MySql 导入sql数据
去到sql文件所在的目录cd /media/jypony/Data/kubuntu/bak/mysql_database输入账号密码mysql -uroot -p123456 create databse xxx;导入sqlsource xxx.sql
2021年06月11日
445 阅读
0 评论
0 点赞
2021-06-11
MySql8.0配置普通用户登陆root帐号
查看debian-sys-maint用户信息cat /etc/mysql/debian.cnf使用debian-sys-maint用户登录MySQL ,密码为debian.cnf中的密码mysql -u debian-sys-maint -p删除原来的Root/普通用户use mysql; delete from user where user = 'root';新建Root/普通用户create user 'root'@'%' identified by '123456';权限授予grant all privileges on *.* to 'root'@'%' with grant option;刷新权限flush privileges;使用Root/普通用户登录exit; mysql -uroot -p123456报错处理出现The server requested authentication method unknown to the client的话,修改密码连接方式ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; flush privileges;
2021年06月11日
379 阅读
0 评论
0 点赞
1
...
8
9
10