vapor-community / mysql-provider

MySQL provider for the Vapor web framework.
MIT License
30 stars 12 forks source link

package couldn't compile #19

Closed kaka21garuda closed 7 years ago

kaka21garuda commented 7 years ago

when I added .Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 1, minor: 0) and do vapor clean vapor Xcode -y, I still can't import VaporMySQL as my module. Also I kept on getting these 2 errors,

Header '/usr/local/include/mysql/mysql.h' not found

Could not build Objective-C module 'CMySQLMac'

I have also a running MySQL server running on my machine.

benjdum59 commented 7 years ago

How did you install MySQL? Homebrew or an official installation?

kaka21garuda commented 7 years ago

@benjdum59 brew install MySQL.