自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Balmunc的专栏

常常因为自己不够优秀而感到恐慌

  • 博客(180)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 [PHP]str_split的坑

【代码】[PHP]str_split的坑。

2023-11-24 11:38:59 159

原创 [MySQL]Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE)

错误信息:[10501]SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'like'解决方法:CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci

2023-11-24 10:43:00 371

原创 [ThinkPHP]源码阅读:Model的获取器

原理:Model通过调用toArray方法使用自定义的获取器。

2023-11-01 15:18:51 416

原创 [ZenTao]禅道邮件通知设置

代码增加通知设置节点。

2023-10-31 16:38:52 2232

原创 [ThinkPHP]The namespace “work“ is ambiguous (worker, workflow)

console.php增加相关配置。

2023-10-24 09:47:28 560

原创 [PHP]substr的坑

【代码】[PHP]substr的坑。

2023-10-23 11:26:46 155

原创 [MySQL]BLOB/TEXT column ‘xxx‘ used in key specification without a key length

报错信息:SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'skc_name' used in key specification without a key length原因:MySQL的唯一索引不支持text类型的字段!

2023-10-18 16:03:47 575

原创 [PHP]str_split性能问题

【代码】[PHP]str_split性能问题。

2023-10-17 10:59:52 228

原创 [MySQL]行转列、列传行

使用union、union all。使用group by + sum。

2023-10-07 15:55:47 170

原创 [PhpStorm]一键删除未用的命名空间

2023-09-22 16:21:43 250

原创 [Linux]cp命令无效

执行cp -rf无效,过程无任何报错。就执行了命令,导致一直在复制旧文件。

2023-09-22 15:45:05 535

原创 [Hyperf]源码阅读:验证器验证规则

hyperf/validation/src/Concerns/ValidatesAttributes.php

2023-09-09 10:23:14 430

原创 [MySQL]同一事务中查询数据

在同一个事务中,即使没有提交事务,还是可以查询到插入的数据。

2023-09-08 10:06:43 490

原创 [PHP]empty一直返回true

【代码】[PHP]empty一直返回true。

2023-09-05 10:41:46 618

原创 [ThinkPHP]比较两个字段

whereColumn

2023-09-01 11:45:51 459

原创 [ZenTao]源码阅读:加载自定义任务类型

www/index.phpconfig/config.phpframework/base/router.class.phptmp/model/common.phpmodule/common/model.phpframework/router.class.php

2023-08-28 13:39:41 537

原创 [ZenTao]源码阅读:自定义任务类型

1、module/custom/control.php 2、module/custom/model.php

2023-08-28 11:58:02 494

原创 [MySQL]事务命令

【代码】[MySQL]事务命令。

2023-08-18 18:59:57 121

原创 [Nginx]禁用缓存

【代码】[Nginx]禁用缓存。

2023-08-16 17:50:46 532

原创 [PHP]类未声明属性的访问控制级别

【代码】[PHP]类操作未声明的属性。

2023-08-02 17:24:47 117

原创 [PHP]readv() failed (104: Connection reset by peer) while reading upstream

查看是否存在循环设置header,导致header变大后nginx报错。

2023-07-24 15:29:11 815

原创 Access to CSS stylesheet at ‘http://xxx‘ from origin ‘http://xxx‘ has been blocked by CORS policy

使用Microsoft Edge可以访问正常网站,那就是Google Chrome浏览器的问题了。如果是Google Chrome浏览器,需要使用https协议访问网站。Google Chrome浏览器访问网站报错。

2023-07-05 10:44:35 1785

原创 [Git]fatal: pathspec ‘xxx‘ did not match any files

原因:xxx 文件名不能带空格。

2023-06-29 15:33:46 524

原创 [ZenTao]抱歉,您访问的功能正在开发中!

缺少对应的view文件。

2023-06-28 13:47:57 187

原创 [Debian]Unable to locate package net-tool

apt-get update

2023-06-26 16:51:51 516

原创 [Docker]user specified IP address is supported on user defined networks only

【代码】[Docker]user specified IP address is supported on user defined networks only。

2023-06-26 16:10:53 2657

原创 [ZenTao]增加权限节点

1、module/project/lang/zh-cn.php 2、module/group/lang/resource.php

2023-06-25 18:46:35 164

原创 [Ubuntu]bash: mysql: command not found

apt-get install mysql-client

2023-06-25 13:45:19 336

原创 [ZenTao]textarea配置kindeditor

【代码】[ZenTao]textarea配置kindeditor。

2023-06-19 15:10:14 167

原创 [logrotate]log does not need rotating (log size is below the ‘size‘ threshold)

如果没有配置过minsize相关参数,出现这个提示的原因是因为。

2023-06-14 11:38:28 562

原创 [Windows]查看端口占用

netstat -ano |findstr "a"tasklist|findstr "b"a为被占用的端口号b为当前被占用的端口号对应PID

2023-06-14 11:19:07 143

原创 [PhpSpreadsheet]PhpOffice\PhpSpreadsheet\Reader\Xlsx::getArrayItem(): Node no longer exists

原因:Excel内容有问题。

2023-06-09 09:36:32 827

原创 [MySQL]全文索引

SELECT *FROM order。

2023-06-02 16:07:33 131

原创 [MySQL]虚拟列

alter table order add v_order_id varchar(50) generated always as(REVERSE(order_id)) stored;alter table order add index idx_v_order_id(`v_order_id`);

2023-06-02 15:45:59 286

原创 [MySQL]置顶功能

使用ORDER BY FIELD。

2023-06-02 14:09:04 394

原创 [Fork]合并代码很慢

关闭所有杀毒软件。

2023-06-02 13:57:11 235

原创 [MySQL]MySQL8.0.28查看锁信息

注意:第三方工具(如:Navicat)执行此语句会报错:1064 - You have an error in your SQL syntax;

2023-04-23 10:17:04 272

原创 [MySQL]MySQL8.0.28查看事务隔离级别

transaction_isolation:事务隔离级别。

2023-04-23 09:40:09 257

原创 [JMeter]JMeter5.5设置Cookies

2023-04-21 17:22:53 220

原创 PhpStorm 2022.3.2关闭光标跳动

不要勾选Caret blinking。

2023-04-21 15:40:40 280

SecureCRT+7.1最新版+汉化+注册

SecureCRT+7.1最新版+汉化+注册

2016-07-13

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除