Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: open

Message Too Old, No Replies

Convert MSSQL Database to MYSQL in under 15minutes?

Help - Advice Needed! Might need to switch technologies!

     

TravelSite

10:05 am on Sep 23, 2009 (gmt 0)

10+ Year Member



Hi,

Our main supplier has given us a daily updated 5GB MS SQL database (updated via a Windows download application that I currently run on my local pc).

I need to find a way to get the data contained in it into our (PHP/MySQL) website as quickly as I can, after its daily update. We're also about to start on a complete website redesign (including buying a new server) to capitalise on this data.

The two options that I can currently see are to:

1. Convert the MSSQL database into a MySQL database on my local machine each day and then ftp it to the server.

2. Buy a Windows server and design a new site in ASP/MSSQL. (Allowing the application to to run on the server and update the database).

Does anyone have any recommendations? Or know if its possible to convert a database that large into MSSQL quickly?

Thanks

vincevincevince

12:47 pm on Sep 23, 2009 (gmt 0)

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member



PHP can access a MSSQL database. Stay in PHP, but use (e.g.) mssql_connect. If you use an OOP database model you should be able to switch in just one place. Get a VPS server to host the database, automatically scheduled to do the updates. Have you existing server and site connect via a tunnel to the database server.

TravelSite

9:26 pm on Sep 23, 2009 (gmt 0)

10+ Year Member



Hi Vincevincevince,

- Thanks for the answer.

The database is fully normalized - would that make it an OOP database model (sorry if its a stupid question!)?

vincevincevince

11:21 pm on Sep 23, 2009 (gmt 0)

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Sorry, I meant, if your existing code is using an OOP model to access the database; e.g. you do not write mysql_query() but $db->query; in which case you can swap out mysql for mssql through the object.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month