Ahsnam,
A few points:
Regarding frameworks. The fact that you had to ask for elaboration re the use of frameworks suggests that you are almost certainly not using one, which means that you can probably ignore the issue.
You wrote that you "will have to rewrite the entire data logic as currently the app is using free tables no database". You do
not have to rewrite any logic if you are moving from free tables to a database (assuming you mean a database in the VFP sense of the word, that is, a DBC). Apart from a few very minor considerations, your application will need no changes as a result of that move.
But moving to a back-end database such as SQL Server or MySQL will most definitely require a lot of re-coding. The overall logic of the application will probably not change, but much of the details of how you access your data will. That applies regardeless of which back-end you choose.
Regarding the licensing of MySQL. I am not sure about this, but my understanding is that if you embed MySQL in a commercial application, then either that application must itself be open source, or you must use a commercial version of MySQL, that is, you must pay for it.
You asked about client-side installation. With any back-end, the database itself usually sits on a server. That's the whole point of it. The client machines don't need to install the database software, but they will of course need your VFP application, which in turn needs an ODBC driver (this is the interface between the client software and database). But the ODBC driver is fairly small component that can easily be distributed as part of your application's Setup procedure.
Finally, don't underestimate the work involved in converting an application from VFP-based data to a SQL back-end. It is always more than people think. Consider carefully your reasons for making the move, and ask yourself if you can't achieve the same goals entirely within VFP.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads