使用的是ThinkPHP5框架报错,只需要将配置文件修改127.0.0.1--->localhost如下
'DB_HOST' => 'localhost', // 服务器地址
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!