Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If I used XAMPP for my MySQL database, is there a way that I could deploy my C# .NET application to another computer without requiring them to install XAMPP?

What I have tried:

I've tried deploying the application to another computer, it works but I just don't want them to install XAMPP for the database.
Posted
Comments
Dave Kreskowiak 8-Oct-23 22:27pm    
How about not writing your app against a dependency of XAMPP? If all you're using is MySQL, you can just install the MySQL server if the client doesn't already have it installed somewhere.

XAMPP comes with a bunch of other stuff you're probably not using so why use it at all?
Leona Ji Abengoza 8-Oct-23 22:53pm    
If I installed stand-alone MySQL, will the user still have to start it before running the application in order for the database to work?
Dave Kreskowiak 9-Oct-23 9:44am    
The depends on the installation. Most likely no, but you can't control how a previous installation was done.

1 solution

Typically, you don't supply the database engine installation with your app. You make it a prequisite for your software in the installation documentation and let the user choose where to install the server, or to use an existing server.

Your installation has to be able to interview the user to get the server location details so your install can connect to the server and create the database and any initialization data.
 
Share this answer
 

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