Is there any way to use MySQL without install? I am making an desctop application using Visual studio and C# that uses MySQL.I will use this program on another computer.if this computer has no MySQL installation my program will also work? Can I move my data base with my application?
A:
No, you do not need the server installed locally. You do need some sort of client, though. For C, you would need the mysqlclient
library. I assume C# has something similar to enable the CLR to talk to MySQL.
If you are looking for a portable database, check out SQLite. As for the best library for C#, see these answers:
janmoesen
2010-06-08 07:57:22
doest the mysqlclient library communicate to a mysql server? So you DO need a server just not locally
Ram Bhat
2010-06-08 07:58:48
Well, yes, if you want to use MySQL, there has to be a server running /somewhere/. However, it seems you want something portable, so I have updated my answer accordingly.
janmoesen
2010-06-09 13:06:47
A:
No... You will need the computer to have mysql and your compiled code. What you CUD do if your database is not too big is hardcode the data storage and retrieval in your code itself.. in that case you wont need mysql installed there.. OR you cud allow network access to mysql on another machine(server) in that case u only need mysql on the server
Ram Bhat
2010-06-08 07:57:26