The server requested authentication method unknown to the client

php连接MySQL8报错: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client 解决办法: 修改MySQL配置文件…
1年前
thinkphp报错:fields not exists

使用模型向数据库添加数据时,竟然报错了 fields not exists:[settle_type] 添加数据代码如下: $result = ProjectSettleType::create($v,true); 通过检查数据库表,发现这…
1年前
fileatime(): open_basedir restriction in effect

完整错误如下: fileatime(): open_basedir restriction in effect. File(/www/wwwroot/fan_directory/fan_article) is not within the …
1年前
PHP上传文件出现413错误

如果上传的文件太大,PHP可能会报如下错误: 413 Request Entity Too Large 可以通过修改php配置文件,调整以下几个参数 max_execution_time = 30 // 最大执行时间,30秒 upload_…
2年前
Configuration: OptionBinding with id “failovermethod” does not exist

CentOS报以下错误: Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: O…
2年前
Failed to download metadata for repo ‘appstream’

CentOS更新时报错: CentOS Linux 8 – AppStream 73 B/s | 38 B 00:00 Error: Failed to download metadata for repo ‘appstream’: Can…
2年前