vapor-community / mysql-provider

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

1.0 error #15

Closed ah-kevin closed 7 years ago

ah-kevin commented 8 years ago

image

loganwright commented 8 years ago

@ah-kevin how did you create the xcode project? If you have latest Vapor Toolbox >1.0, then vapor xcode will be enough. If you are doing it manually, the mysql headers will have to be linked.

ah-kevin commented 8 years ago

image user toolbox 1.0.1 mysql-provider 1.0
vapor xcode --mysql

kaka21garuda commented 7 years ago

@LoganWright I am currently having the same issue as well. When I added this dependency into my Package file, my Xcode couldn't compile due to similar error. .Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 1, minor: 0) I've tried vapor clean and vapor Xcode multiple times. I am also sure that MySQL server is currently in my local machine.

tanner0101 commented 7 years ago

Make sure MySQL is installed on your machine by following the instructions at: https://github.com/vapor/mysql