Hi all, I am trying to use Yesod with Mysql on Windows but cannot get the mysql package to build. I can see that there is an error report about this problem that hasn't been addressed for the past 11 months: https://github.com/bos/mysql/issues/3 At the moment this means that the only real database on Windows is Postgres, but I can only use mysql or mssql in this project. Since it doesn't look like this problem will be solved any time soon, can anyone think of reasonable alternatives? So far my only thought is using an Odbc interface with a subset of the persistent functionality. This could additonally open up access to MS Sql Server and Oracle. Anyway, I'd appreciate your thoughts about this. Thanks so much, Grant
Another option besides fixing the installer is using a virtual machine. Unfortunately it doesn't seem like it would help you to try to just run the database in the VM. I do all my development on an Ubuntu virtual machine. On Mon, Sep 16, 2013 at 7:36 AM, Grant Weyburne <weyburne@gmail.com> wrote:
Hi all,
I am trying to use Yesod with Mysql on Windows but cannot get the mysql package to build. I can see that there is an error report about this problem that hasn't been addressed for the past 11 months:
https://github.com/bos/mysql/issues/3
At the moment this means that the only real database on Windows is Postgres, but I can only use mysql or mssql in this project. Since it doesn't look like this problem will be solved any time soon, can anyone think of reasonable alternatives? So far my only thought is using an Odbc interface with a subset of the persistent functionality. This could additonally open up access to MS Sql Server and Oracle. Anyway, I'd appreciate your thoughts about this. Thanks so much, Grant
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
Linux is not really an option for me, and I have used Windows for most of my Haskell projects without too many problems up to now. I guess I am trying to highlight the fact that on a fairly popular operating system, there is very little choice of database for Yesod. Yesod is a phenomenal framework, which I believe could see a lot more use if there were more database options than just Postgres. Again, is there a way to use ODBC but not provide all the features in Yesod just to get started (eg skip migration), or is this just not realistic? Thanks for any feedback! Grant On Mon, Sep 16, 2013 at 1:57 PM, Greg Weber <greg@gregweber.info> wrote:
Another option besides fixing the installer is using a virtual machine. Unfortunately it doesn't seem like it would help you to try to just run the database in the VM. I do all my development on an Ubuntu virtual machine.
On Mon, Sep 16, 2013 at 7:36 AM, Grant Weyburne <weyburne@gmail.com>wrote:
Hi all,
I am trying to use Yesod with Mysql on Windows but cannot get the mysql package to build. I can see that there is an error report about this problem that hasn't been addressed for the past 11 months:
https://github.com/bos/mysql/issues/3
At the moment this means that the only real database on Windows is Postgres, but I can only use mysql or mssql in this project. Since it doesn't look like this problem will be solved any time soon, can anyone think of reasonable alternatives? So far my only thought is using an Odbc interface with a subset of the persistent functionality. This could additonally open up access to MS Sql Server and Oracle. Anyway, I'd appreciate your thoughts about this. Thanks so much, Grant
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
There is nothing stopping you from using whatever database library you would like. I know there are at least examples out there of using acid-state. You can use the simple option with the scaffolding or remove the persistent dependencies from your cabal file and start deleting stuff from your scaffolded site. On Mon, Sep 16, 2013 at 3:46 PM, Grant Weyburne <weyburne@gmail.com> wrote:
Linux is not really an option for me, and I have used Windows for most of my Haskell projects without too many problems up to now.
I guess I am trying to highlight the fact that on a fairly popular operating system, there is very little choice of database for Yesod. Yesod is a phenomenal framework, which I believe could see a lot more use if there were more database options than just Postgres.
Again, is there a way to use ODBC but not provide all the features in Yesod just to get started (eg skip migration), or is this just not realistic?
Thanks for any feedback!
Grant
On Mon, Sep 16, 2013 at 1:57 PM, Greg Weber <greg@gregweber.info> wrote:
Another option besides fixing the installer is using a virtual machine. Unfortunately it doesn't seem like it would help you to try to just run the database in the VM. I do all my development on an Ubuntu virtual machine.
On Mon, Sep 16, 2013 at 7:36 AM, Grant Weyburne <weyburne@gmail.com>wrote:
Hi all,
I am trying to use Yesod with Mysql on Windows but cannot get the mysql package to build. I can see that there is an error report about this problem that hasn't been addressed for the past 11 months:
https://github.com/bos/mysql/issues/3
At the moment this means that the only real database on Windows is Postgres, but I can only use mysql or mssql in this project. Since it doesn't look like this problem will be solved any time soon, can anyone think of reasonable alternatives? So far my only thought is using an Odbc interface with a subset of the persistent functionality. This could additonally open up access to MS Sql Server and Oracle. Anyway, I'd appreciate your thoughts about this. Thanks so much, Grant
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
On Mon, Sep 16, 2013 at 3:46 PM, Grant Weyburne <weyburne@gmail.com> wrote:
I guess I am trying to highlight the fact that on a fairly popular operating system, there is very little choice of database for Yesod. Yesod is a phenomenal framework, which I believe could see a lot more use if there were more database options than just Postgres.
All of the database libraries are open source, and it's within your power to fix the problems you find if you see fit. While complaining that the state of things on Windows isn't so great is a popular activity, it's much less constructive than actually shipping patches that fix things up.
participants (3)
-
Bryan O'Sullivan -
Grant Weyburne -
Greg Weber