php pdo_mysql使用localhost作为host不行而使用127.0.0.1作为host则OK的原因
The mysql libraries will automatically use Unix sockets if the host of "localhost" is used. To force TCP/IP you need to set an IP address.
posted on 2015-03-25 17:13 darkness_1 阅读(629) 评论(0) 收藏 举报
浙公网安备 33010602011771号