Open up php.ini (mine was in /private/etc/) locate this line: pdo_mysql.default_socket=/var/mysql/mysql.sock Change the line to: pdo_mysql.default_socket=/tmp/mysql.sock Restart apache
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。