自定义博客皮肤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的专栏

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

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

原创 [PhpStorm]关闭浏览器图标

取消勾选 “Show browser popup in the editor”以下选项

2025-11-14 15:58:29 119

原创 [MySQL]2013 - Lost connection to server at ‘handshake: reading initial communication packet‘

断开重连网络即可解决。

2025-11-13 10:03:17 114

原创 [Windows]Windows10任务栏颜色改成深色

2025-10-22 15:28:24 111

原创 [PhpStorm]设置文件内容自动换行

勾选“Soft-wrap these files”

2025-09-26 11:53:05 95

原创 [PHP]str_split的坑

【代码】[PHP]str_split的坑。

2023-11-24 11:38:59 148

原创 [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 338

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

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

2023-11-01 15:18:51 391

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

代码增加通知设置节点。

2023-10-31 16:38:52 2197

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

console.php增加相关配置。

2023-10-24 09:47:28 550

原创 [PHP]substr的坑

【代码】[PHP]substr的坑。

2023-10-23 11:26:46 138

原创 [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 550

原创 [PHP]str_split性能问题

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

2023-10-17 10:59:52 214

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

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

2023-10-07 15:55:47 162

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

2023-09-22 16:21:43 223

原创 [Linux]cp命令无效

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

2023-09-22 15:45:05 500

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

hyperf/validation/src/Concerns/ValidatesAttributes.php

2023-09-09 10:23:14 414

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

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

2023-09-08 10:06:43 478

原创 [PHP]empty一直返回true

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

2023-09-05 10:41:46 595

原创 [ThinkPHP]比较两个字段

whereColumn

2023-09-01 11:45:51 446

原创 [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 516

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

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

2023-08-28 11:58:02 472

原创 [MySQL]事务命令

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

2023-08-18 18:59:57 110

原创 [Nginx]禁用缓存

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

2023-08-16 17:50:46 508

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

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

2023-08-02 17:24:47 106

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

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

2023-07-24 15:29:11 780

原创 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 1691

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

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

2023-06-29 15:33:46 515

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

缺少对应的view文件。

2023-06-28 13:47:57 179

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

apt-get update

2023-06-26 16:51:51 500

原创 [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 2630

原创 [ZenTao]增加权限节点

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

2023-06-25 18:46:35 143

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

apt-get install mysql-client

2023-06-25 13:45:19 320

原创 [ZenTao]textarea配置kindeditor

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

2023-06-19 15:10:14 147

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

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

2023-06-14 11:38:28 533

原创 [Windows]查看端口占用

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

2023-06-14 11:19:07 126

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

原因:Excel内容有问题。

2023-06-09 09:36:32 780

原创 [MySQL]全文索引

SELECT *FROM order。

2023-06-02 16:07:33 121

原创 [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 269

原创 [MySQL]置顶功能

使用ORDER BY FIELD。

2023-06-02 14:09:04 385

原创 [Fork]合并代码很慢

关闭所有杀毒软件。

2023-06-02 13:57:11 219

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

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

2016-07-13

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

TA关注的人

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