摘要:
webapp如果绑定到0.0.0.0:8088 下,是可以直接用反向代理upstream 127.0.0.1:8088 但是如果绑定到内网Ip, 43.43.43.43:8088下, 则反向代理也应该使用这个ip。127.0.0.1并不是本机Ip,本质上0.0.0.0才是,只是localhost一般 阅读全文
摘要:
mysql 安装 1、 windows下的mysql,不能用wsl里的mysql直接访问 2、mysql 5.7较为常用,相当于mariadb10.1 3. mysql 配置文件在etc/mysql/my.cnf下,可以配置两个标签[client]和[mysql] 4. mysql配置文件修改后生效 阅读全文
摘要:
https://www.bilibili.com/video/BV1zt4y1D7kt/ https://mp.weixin.qq.com/s/l--W_GUOGXOWhGdwYqsh9A https://github.com/realguoshuai/hadoop_study hadoop生态学习 阅读全文
摘要:
https://developer.aliyun.com/learning/course/807?spm=5176.15088477.J_4051672940.16.5c161708rKhPfN 阅读全文
摘要:
https://help.aliyun.com/document_detail/273086.html?spm=a2c4g.11186623.6.756.c7e655e4HqkAjc 阅读全文
摘要:
hz: 4485482 sh 4473915 业务:4485468 阅读全文
摘要:
SELECT ticketitemid, userid, productuid, discounttype, case when discounttype is null or discounttype=0 then '无折扣' when discounttype=1 then '搭赠' when 阅读全文
该文被密码保护。 阅读全文
摘要:
left join或者inner join 都需要确保每个表的条目唯一,比如userid唯一,不然会有重复的数据, 可以使用 select userid,customeruid,count(*) from dim_customer_info_df where pt='20210713' group 阅读全文
摘要:
1、pymysql默认开启事务,对于表的数据的操作需要使用commit, 但是如果删库删表的操作就不一样,没办法rollback 一般来说用如下方法使用事务,如果不需要使用事务则不用rollback,直接commit就可以 try: cursor.execute("update moneyTable 阅读全文