上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页

2022年5月17日

Loading local data is disabled; this must be enabled on both the client and server sides

摘要: mysql使用文件导入数据是报错: Loading local data is disabled; this must be enabled on both the client and server sides 临时解决办法: 命令行输入mysql登录命令: mysql --local-infil 阅读全文

posted @ 2022-05-17 10:22 zyp_java_net 阅读(832) 评论(0) 推荐(0) 编辑

2022年5月16日

NPM 换源

摘要: 显示当前的镜像网址: npm get registry显示:https://registry.npmjs.org/ 更换淘宝的镜像网址: npm config set registry http://registry.npm.taobao.org 再次查看当前镜像: npm get registry 阅读全文

posted @ 2022-05-16 17:35 zyp_java_net 阅读(27) 评论(0) 推荐(0) 编辑

2022年5月15日

Mysql 字符串字段判断是否包含某个字符串的3种方法

摘要: 1. 方法1: INSTR函数用法 mysql 进行模糊查询时,可使用内部函数 instr,替代传统的 like 方式,并且速度更快。 instr(field, str) 函数,第一个参数 field 是字段,第二个参数 str 是要查询的串,返回串 str 的位置,没找到就是0 select * 阅读全文

posted @ 2022-05-15 22:24 zyp_java_net 阅读(680) 评论(0) 推荐(0) 编辑

2022年5月14日

mysql 获取所有父级

摘要: with recursive t as( select * from jk_his_kszdb where sid = '114' union all select a.* from jk_his_kszdb a join t on a.sid = t.parent_id)select * from 阅读全文

posted @ 2022-05-14 16:02 zyp_java_net 阅读(272) 评论(0) 推荐(0) 编辑

2022年5月11日

mysql8.0创建函数错误代码1418解决方法和原因

摘要: 1、开启创建函数功能 -- 1、查看创建函数是否开启 如果Value处值为OFF,则需将其开启。show variables like '%func%';-- 2、开启MySQL函数功能set global log_bin_trust_function_creators=1;-- 3、关闭MySQL 阅读全文

posted @ 2022-05-11 10:31 zyp_java_net 阅读(249) 评论(0) 推荐(0) 编辑

2022年4月28日

html让同一行的文字和图片居中对齐显示

摘要: <div class="satisDiv span12 borderB pad10px h44"> <span class="fs028rem ">满意度:</span> <span class="ml030rem fs028rem">十分满意</span> <img class="ml020rem 阅读全文

posted @ 2022-04-28 18:07 zyp_java_net 阅读(572) 评论(0) 推荐(0) 编辑

2022年4月27日

MySQL统计NULL字段处理

摘要: 使用COALESCE(value,…) 函数,结果和IFNULL 函数一样 阅读全文

posted @ 2022-04-27 11:39 zyp_java_net 阅读(128) 评论(0) 推荐(0) 编辑

2022年4月25日

mysql判断字段是否为汉字

摘要: mysql判断字段是否为汉字 因为汉字占两个字符所以length下一个汉字的长度为3,char_lengt的长度为1,所以比较两者计算的长度就可判断是否含有汉字 SELECT * from t_device where length(town)!=char_length(town)SELECT * 阅读全文

posted @ 2022-04-25 12:58 zyp_java_net 阅读(410) 评论(0) 推荐(0) 编辑

2022年4月24日

mysql按月统计数据

摘要: mysql按月统计数据 select DATE_FORMAT(bkrq,'%c') yf, COUNT(*) cou from bk_data where YEAR(bkrq)=YEAR(NOW()) group by MONTH(bkrq); 1.今天 SELECT * FROM 表名 WHERE 阅读全文

posted @ 2022-04-24 13:02 zyp_java_net 阅读(2474) 评论(0) 推荐(0) 编辑

2022年4月23日

npm ERR! code 128的解决方法

摘要: (1)输入npm cache clean --force (2)再输入npm install 阅读全文

posted @ 2022-04-23 16:02 zyp_java_net 阅读(687) 评论(0) 推荐(0) 编辑

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页

导航