Linux上的MySQL,PHP和命名管道

时间:2017-08-24 16:19:18

标签: php mysql linux

我很关注。

我在MySQL配置文件中添加了以下内容:

[mysqld]<br/>
enable-named-pipe<br/>
skip-networking<br/>

但是,现在,如何使用Linux中的命名管道从mysql连接到php?你能给我一个connect.php例子吗?

祝你好运!

1 个答案:

答案 0 :(得分:0)

https://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_enable-named-pipe

  

启用对命名管道的支持。此选项仅适用于Windows。

连接到localhost