Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Converting to MySQL: From Access or MSSQL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Converting to MySQL: From Access or MSSQL

 Post Reply Post Reply Page  123>
Author
ziv5 View Drop Down
Newbie
Newbie


Joined: 23 November 2003
Location: Canada
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote ziv5 Quote  Post ReplyReply Direct Link To This Post Topic: Converting to MySQL: From Access or MSSQL
    Posted: 23 November 2003 at 11:08pm

Hi all,

I'm about to choose a ASP discussion forum. WebWiz and PD9's MegaBBS are the two forums I'm looking at.

I'm going to convert the forum to run MySQL since I need the performance and you cannot beat the cost. My question is, should I be converting the ASP from the Access version or from the MS SQL version of WebWiz? And for those that have done this code conversion before, how long did it take you?

This is going to run on MySQL v4.0.16 and MyODBC 3.51.06.

Really too bad WebWiz doesn't support MySQL. It is a top notch DB and is starting to get very popular with asp coders, as its getting lots of support from hosting providers.

Thank you,

  -Ziv.



Edited by ziv5
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 6:22am
If you are going to use MySQL use the Access code, the MSSQL code is built around stored procedures.
Back to Top
Tegwin View Drop Down
Senior Member
Senior Member


Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tegwin Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 7:04am

I dont know if anyone has even tried this. I think that it will be quite complicated.  The biggest problem will be with the coding of it to work with Mysql, to help you with the conversion, I have used some of these guys programs before, and they are pretty good.. http://www.convert-in.com/... 

Let us know once you have done, it, perhaps you make it a mod

 

 

If you dont want my peaches, dont shake my tree
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 7:07am

http://www.lodogg.com/upsizing.htm

Will this method work or is still upsizing the access code to the sql database?  I'm not sure if this is the proper stored procedures after the upsize!  Let me know!!

Thanks,

Lo

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
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 8:12am
To convert Web Wiz Forums to run on mySQL will require the re-writting of almost every file and these around 140 of them.

Many of the SQL queries will need to be change.

Any updates that are done using ADO, which is most of them, will require that these parts be completly re-written to use SQL updates and as you don't have the security benefits of going through ADO you will need to filter any user input used for these updates to remove any malicious code that could be used for SQL injection.

I started re-coding the forum to run with mySQL, but gave up after about 4 days and around 30 hours as I hadn't even scrathed the surface and found that it would mean writting two different code bases as changing the code for the acess and SQL server versions to make it more compatible with mySQL lost performance and security.

I also found allot of problems with the myODBC driver.

I personally think that mySQL is better if you are using PHP, if you are on a windows web server then you are better using ASP and MS SQL Server.
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 9:25am
So there is no easy way to upgrade from ACCESS to MSSQL?  That sucks  If anyone comes up with a good way to upsize please let me know.  I have a good 1000 posts and I want to upgrade my database but I wouldn't have a clue on how to re-write the code so there wouldn't be sql injections and what not  There's alot of people out there like me.....  HELP
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 9:27am

Wait a second am I in na na land!!  You are talking about mysql?  Did my instructions above make sense-boRG-?  From access to mssql?

 

God sorry for being an idiot!

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
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2003 at 9:33am
Sorry lodogg, I was continuing on the topic of this topic about mySQL and converting web wiz forums to mySQL, you jumped in with a post which was off-topic when you should have started a new topic.

The instructions you have given look very ggod, only problem I see is that by running the SQL setup script will create double enties in the database like second admin accounts with the default username and apssword which could be hacked and also create double usergroups, etc. All these would need to be erased if not could course a security risk.
Back to Top
 Post Reply Post Reply Page  123>

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.