I have a SqlServer db that I would like to port to MySQL. What's the best way to to this. Things that need to be ported are:
- Tables (and data)
- FileStream → MySQL equivalent?
- Stored Procedures
- Functions
Data types are relatively similar.
There is no equivalent to FileStream in MySQL - the files must either be stored as BLOBs, or on the file system while the path is stored in the database.
Migrating away from TSQL means:
WITH clause in MySQL - it will have to converted into a derived table/inline viewTOP syntax - these have to be converted to use LIMITROW_NUMBER, RANK, DENSE_RANK or NTILE. See this article for alternatives.This is not for the faint of heart. Here is an article that explains what you are in for:
http://searchenterpriselinux.techtarget.com/news/column/0,294698,sid39_gci1187176,00.html