I am looking into ways to encrypt mySQL stored procedure source code when installed in clients local environment.
I did lot of research on this topic and had no luck except for one promising reply from gazzang.com
Here is the reply from gazzang. Let me know if someone has already tried this out.
We should be able to encrypt the table where store procs and functions are stored - mysql.proc Thus os users won't be able to read the contents of the sp or functions. I can't remember which internal table views are stored in but the same some apply to them. I am not sure we could come up with a solution to encrypt the routines internal to mysql. Other databases that do this really implement "obfuscation" internally - I think PostgreSQL does that for example.