Click here to Skip to main content
15,513,571 members
Please Sign up or sign in to vote.
5.00/5 (4 votes)
See more:
Hi Professionals
i am making a website which is connected with a mysql database.
now my project is complete now i want to host it on server i uploaded many websites on server but that all without database its my 1st database included website that need to host....so how to upload it that can help to run ma project properly
please give me proper suggestion that can help me for my project!!!!
Posted
Updated 13-Dec-21 23:54pm

Hello Shubh,

I also faced with a similar issue when I first did a .net project with mysql and I found these articles so its very helpful for you. Follow these links :

http://www.codeguru.com/csharp/.net/net_data/article.php/c19407/A-StepbyStep-Guide-To-Using-MySQL-with-ASPNET--Part-1.htm[^]

http://www.codeguru.com/csharp/.net/net_data/article.php/c19493/A-StepbyStep-Guide-To-Using-MySQL-with-ASPNET--Part-2.htm[^]
 
Share this answer
 
Hi Shubh,

There is no difference of deploying website with database and without database on the IIS server if you have saved connection string into web.config file.

You just need to update config file to change the connection string.

Please refer the below link to deploy website on IIS7.0

Deploying ASP.NET Websites on IIS 7.0 [^]
 
Share this answer
 
Below are the step for Deploy an ASP.NET Core Application with MySQL Server:

Step 1:Installing .NET Core Runtime

Step 2 — Creating a MySQL User and Database

Step 3 — Setting Up the Demo App and Database Credentials

Step 4 — Configuring the Web Server

I've done it before and it's quite painless.
 
Share this answer
 
v2
Comments
Richard Deeming 14-Dec-21 5:06am    
Irrelevant - .NET Core wasn't even in development when this question was posted. You have added nothing new to the discussion.

Unless you have some amazing new insight to share, stick to answering new or unsolved questions.

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