Patchwork

Mac OS 10.10 php不能连接mysql问题解决
...or whatever - and everything will break again. So I tried a small patchwork to fool mysql’s driver, and then it works nicely: sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock That way you will actually HAVE a /tmp/mysql.sock file, as ex
MacOS10.10php不能连接mysql问题解决_MySQL
... or whatever - and everything will break again. So I tried a small patchwork to fool mysql’s driver, and then it works nicely: sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock That way you will actually HAVE a /tmp/mysql.sock file, as expe
1