- 博客(180)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 [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]The namespace “work“ is ambiguous (worker, workflow)
console.php增加相关配置。
2023-10-24 09:47:28
560
原创 [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
原创 [Hyperf]源码阅读:验证器验证规则
hyperf/validation/src/Concerns/ValidatesAttributes.php
2023-09-09 10:23:14
430
原创 [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
原创 [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
原创 [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
原创 [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]虚拟列
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]MySQL8.0.28查看锁信息
注意:第三方工具(如:Navicat)执行此语句会报错:1064 - You have an error in your SQL syntax;
2023-04-23 10:17:04
272
我想问一下有关c/c++的问题
2013-07-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅