子钦加油

扩大
缩小

2020年5月8日

PHP错误:SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

摘要: 使用PHP连接MySQL 8的时候,可能会发生如标题所示的错误: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client 发生这种错误,是由于MySQL 8默认使用了新的密码验证插 阅读全文

posted @ 2020-05-08 14:53 子钦加油 阅读(1089) 评论(0) 推荐(0) 编辑

Mac安装PHP运行环境

摘要: 先安装brew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" nginx的安装与配置 brew install nginx 修改配置文件 sudo vim /usr/ 阅读全文

posted @ 2020-05-08 11:48 子钦加油 阅读(694) 评论(0) 推荐(0) 编辑

YII2数据库操作出现类似Database Exception – yii\db\Exception SQLSTATE[HY000] [2002] No such file or director

摘要: YII2进行MYSQL数据库操作时出现Database Exception – yii\db\Exception SQLSTATE[HY000] [2002] No such file or directory错误的解决方法 在进行数据库操作时出现如下类似错误,实际则是PHP配置文件php.ini中 阅读全文

posted @ 2020-05-08 11:19 子钦加油 阅读(659) 评论(0) 推荐(0) 编辑

导航

返回顶部