Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Has anyone tryed to port WWF to MySQL?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedHas anyone tryed to port WWF to MySQL?

 Post Reply Post Reply
Author
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Direct Link To This Post Topic: Has anyone tryed to port WWF to MySQL?
    Posted: 30 November 2003 at 6:53am

I would like to run WWF but with MySQL backend instead of my current Access DB, I know there are little differences in the SQL btw Access and MySQL, my questions are:

If I create the MySQL database with all tables and fields will it run? What problems am I expecting by doing so?

If the problems are too many, then it might be worth to rewrite the whole code from scratch with MySQL, that would result in a new forum project altogether.

Thx for any advice.

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Direct Link To This Post Posted: 30 November 2003 at 7:30am
You would need to re write a vast majority of the forum code, as the database it uses is a relational one, and mySQL doesnt support relational tables yet, but I hear it will soon
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 30 November 2003 at 8:45am
You will need to re-write almost every file as many files use ADO recordset updates to update the database which help with security with SQL injections.

Many of the SQL quries will also need to be re-writen to support mySQL.

mySQL also doesn't support recordset paging so all files using this will also need to be re-writen.

You will have to write extra security code as well to prevent SQL injections.

I spent some 30 hours on this and gave up as I didn't even scratch the serface.

If you go ahead be prepared to spend a good month or so working on it (full-time), to get it working correctly.

As the license for web wiz forums dosn't allow the code to be redistiributed or re-engineered then you will be better starting from scratch with a completly different code base as this forum would not be able to be used as a code base for such a project.


Edited by -boRg-
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Direct Link To This Post Posted: 30 November 2003 at 9:37am
ouch... i think it would be easier just to buy SQL server
Back to Top
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Direct Link To This Post Posted: 01 December 2003 at 1:16am

Thanks to everyone, specially to boRg (resistance is futile...) great stuff.

Yeah I though as much, my preliminary analizes revealed that indeed MySQL doesn't support recordsert paging, so I had to come with a complete new DB paging routine, fully working now, and that the ammount of work involved to change the code to be MySQL connectable is too much, not to mention the WWF licence issues.

I will indeed start from scratch a new forum project with MySQL backend and I'm considering not adding all features avail in WWF at the beggining it will be an application that will mature with time, but at least people will have a forum system with a reliable, fast and free backend.

MSSQL is way too expenssive and not avail on all hosts, not sure if WWF will work with MSDE 2000.

I'm still busy with other projects at the moment, but will inform you all on the progress of this new MySQL forums.

Thanks.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 01 December 2003 at 3:43am
Web Wiz Forums will work with MSDE 2000

The cost of MS SQL server is comming down in price and many hosts now offer MS SQL server with hosting packages that cost under $5 a month.
Back to Top
The WizeGuy View Drop Down
Newbie
Newbie


Joined: 02 October 2003
Location: Sweden
Status: Offline
Points: 34
Direct Link To This Post Posted: 29 December 2003 at 12:38pm

MySQL does support RecordsetPaging but donīt support all Recordset (ADO) Features .... like .AddNew, or .AddNew you can use, but not update an existing post with .Update. It seems that myODBC lock the record for updates.

 

cya,

/PatrikB



Edited by The WizeGuy
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.