tag:help.appveyor.com,2012-11-13:/discussions/problems/5406-mysql-connection-via-named-pipeAppVeyor: Discussion 2018-10-19T08:18:03Ztag:help.appveyor.com,2012-11-13:Comment/409812902016-10-13T22:23:31Z2016-10-13T22:23:31ZMysql connection via named pipe<div><p>Hello,</p>
<p>I believe that problem is because named pipes are not enabled by
default in standard MySQL installation. Please add the following
(or equivalent if you do not like PowerShell) at install stage or
anywhere before your tests.</p>
<pre>
<code>- ps: >-
$iniPath="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini"
$newText = ([System.IO.File]::ReadAllText($iniPath)).Replace("# enable-named-pipe", "enable-named-pipe")
[System.IO.File]::WriteAllText($iniPath, $newText)
Restart-Service MySQL57</code>
</pre>
<p>Please let us know if this helps.</p>
<p>--ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/409812902016-10-14T07:24:24Z2016-10-14T07:24:24ZMysql connection via named pipe<div><p>It works!<br>
Thanks a lot, Ilya.</p></div>aikorsky