我说到点子上了。
我将以下内容放在MySQL
配置文件中:
[mysqld]<br/>
enable-named-pipe<br/>
skip-networking<br/>
但是,现在,如何在 Linux 中使用命名管道从php
连接到mysql
?你能给我举一个connect.php
的例子吗?
此致敬意!
https://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_enable-named-pipe
启用对命名管道的支持。此选项仅适用于 Windows。
连接到localhost
。