简体   繁体   中英

Uploading databases to a server for an ASP.NET MVC application?

I have uploaded the website files using the publishing wizard in Visual Studio. I used FTP to transfer those files. Now I'm not sure how to get my databases hooked up.

I used Code First Migrations in Entity Framework for my databases. I have three databases in my project that have been stored locally. I am trying to add them through cPanel. HostGator is the provider.

I have created 3 MySQL databases in cPanel, but I'm not sure where to go from there and I'm having trouble finding information online.

这是您可以在代码优先迁移中创建数据库的方法: https : //stackoverflow.com/a/16322232/2072676希望对您有所帮助

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM