2024年3月10日

摘要: OSS是什么OSS是阿里云存储服务,简单来说OSS就是一块网络硬盘。特点是便宜,但便宜也有代价,那就是性能不高,如果只是作为个人存文件用,我认为完全够用。 为什么要挂载流量收费因为直接访问(类似网盘)要消耗流量,收费! 而挂载到服务器,通过服务器访问,可以走内部通道(服务器连接OSS),免流量。当然 阅读全文

posted @ 2024-03-10 13:52 黔人阿诺 阅读(61) 评论(0) 推荐(0) 编辑

2023年9月1日

摘要: 1 [mysqld] 下增加 skip-log-bin=1 注意直接写为 skip-log-bin 侧无法启动; 2 禁用log-bin #log-bin=mysql-bin #binlog_format=mixed注意其它版本用步骤2就可以了 阅读全文

posted @ 2023-09-01 09:01 黔人阿诺 阅读(57) 评论(0) 推荐(0) 编辑

2021年11月19日

摘要: UPDATE destoon_company SET catid =CONCAT(',',catid,',') , catids =catid WHERE (catid REGEXP '[^0-9.]') = 0 LIMIT 8 字符相加 CONCAT 判断字段为纯数字 (catid REGEXP 阅读全文

posted @ 2021-11-19 12:55 黔人阿诺 阅读(116) 评论(0) 推荐(0) 编辑

2021年10月9日

摘要: sed -i 's/MyISAM/InnoDB/g' Db532.sql 阅读全文

posted @ 2021-10-09 13:04 黔人阿诺 阅读(29) 评论(0) 推荐(0) 编辑

摘要: 解压的时候直接指定编码格式 #指定GBK GB18030编码也是可以的unzip -O CP936 资料.zip 阅读全文

posted @ 2021-10-09 13:03 黔人阿诺 阅读(179) 评论(0) 推荐(0) 编辑

摘要: #!/bin/sh date=`date +%Y%m%d\[%H:%M:%S]` n=`mysqladmin -uroot -p密码 processlist | grep -i sleep | wc -l` echo "sleep count:$n" if [ "$n" -gt 10 ]; then 阅读全文

posted @ 2021-10-09 13:02 黔人阿诺 阅读(194) 评论(0) 推荐(0) 编辑

2021年8月19日

摘要: delete from toutiao where title in (SELECT a.title from (select title from toutiao group by title having count(title) > 1) a )and id not in (SELECT b. 阅读全文

posted @ 2021-08-19 13:44 黔人阿诺 阅读(160) 评论(0) 推荐(0) 编辑

2021年7月23日

摘要: cd C:\Program Files\Oracle\VirtualBoxVBoxManage.exe setextradata centos8 VBoxInternal2/SharedFoldersEnableSymlinksCreate/wwwroot 1 centos8为主机名 wwwroot 阅读全文

posted @ 2021-07-23 16:37 黔人阿诺 阅读(74) 评论(0) 推荐(0) 编辑

摘要: mysql>use dbtest; mysql>set names utf8; mysql>source D:/www/sql/back.sql; 阅读全文

posted @ 2021-07-23 16:33 黔人阿诺 阅读(702) 评论(0) 推荐(0) 编辑

2021年7月16日

摘要: cd C:\Program Files\Oracle\VirtualBox //安装目录 VBoxManage.exe setextradata centos VBoxInternal2/SharedFoldersEnableSymlinksCreate/wwwroot 1 //centos 虚拟机 阅读全文

posted @ 2021-07-16 18:03 黔人阿诺 阅读(98) 评论(0) 推荐(0) 编辑