Skip to content

Commit

Permalink
setup
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 30, 2018
1 parent db85260 commit 2502e62
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ init:
- SET ANSICON=121x90 (121x90)

install:
- >
$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)
- [System.IO.File]::WriteAllText("C:\ProgramData\MySQL\MySQL Server 5.7\my.ini", ([System.IO.File]::ReadAllText("C:\ProgramData\MySQL\MySQL Server 5.7\my.ini")).Replace("# enable-named-pipe", "enable-named-pipe"))
- Restart-Service MySQL57
- >
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u root -p"Password12!" -h localhost -p 3306 -e "CREATE DATABASE IF NOT EXISTS errorheromodule;"
Expand Down

0 comments on commit 2502e62

Please sign in to comment.