YAFLogo

gb2013
  • gb2013
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
7 years ago
Do you have a plan to suport for MySQL database?
Sponsor
Delirium
7 years ago
See here . I started working on it, but it'll take time to make this happen on 2.x.

https://github.com/masterofjellyfish/YAFNET/tree/mysql 

Contributions welcome. I'll merge every single character that helps into my tree.

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
7 years ago
Originally Posted by: Delirium 

See here . I started working on it, but it'll take time to make this happen on 2.x.

https://github.com/masterofjellyfish/YAFNET/tree/mysql 

Contributions welcome. I'll merge every single character that helps into my tree.

Keep in mind the number of MySQL potential users is very small.

https://github.com/vzrus/YetAnotherForumExtraDataLayers  as a base for a derivative code to cut corners.

Keep in mind it's under GPLv2 and it's incompatible with Apache v2. You still can easily add it to YAF source code, but you can't include it into a YAF distribution and can't change the scripts licence to a GPLv2 incompatible .

Good luck:)

Delirium
7 years ago
I personally want to use it myself with mysql as mssql on *nix won't happen anytime soon. So once mysql support is complete, things get interesting trying to get this running on mono, which should improve the number of potential MySQL Users by orders of magnitude.

Also I won't be using any code of the datalayers. I'm aware they exist but rather create a non-destructive scenario where the database type can be configured in the config file. I still have to read much source code to understand YAFs internal workings and interface quite a bit away. My main goal woud be that my branch can be merged into the main tree so YAF supports both databases by default.

Personally I think YAF is one of the best - if not the best - open source forum engine out there. I'd use it in several places, weren't it for the fact that windows servers are a hell of a lot more expensive than unix ones (at least if you want your server somewhere in germany or central europe). So once this runs fine on mono and mysql, this is going towards perfection.

Edit - and by the way: If i find that mysql support isn't really feasible because the lack of some features, there's a good chance I'd attempt to port it to Postgres, but currently I'm fearing the stored procedures on this one...