Click here to Skip to main content
15,919,879 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed one windows application by .Net and using MySQL for Database,

now i will give it to many different customers.

But everywhere at every customer i have to go and install MySQL on their machine.

What can i do for this..
how can i solve above problem,

Is there any kind of provision by which we can install MySQL while installing our windows application
without noticing to customer and also automatically connect to MySQL

please help me

Thanks
Posted
Updated 20-Feb-12 4:12am
v2
Comments
The Zetta 20-Feb-12 9:17am    
Question is not clear. Does your program use MySQL for storing data? Are you working on a network or on web?

1 solution

You only need to install MySql on your server (if your application is client/server) and your clients will connect to your server or MySql engine so the base MySql connector DLL will suffice.

On your server you can install the MSI package for MySql or you can copy the following files to your server
bin\mysqld.exe
Share\*.*
database\mysql\*.*
my.ini

and run the following on the command line to start the MySql server :
start /min bin\mysqld.exe --standalone --console
or install the service with
bin\mysqld.exe --install
 
Share this answer
 
v2
Comments
AmitGajjar 20-Feb-12 23:25pm    
good one.. 5+ not yet try but i am sure it will work.
Mehdi Gholam 21-Feb-12 1:39am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900