Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is incremental database publishing?

When I am publishing my site using Web Deploy in Visual Studio I see something like:

MySql.Data.MySqlClient is not supported for incremental database publishing. 

I want to know what exactly would this technology do if it is supported?

like image 452
Steve Avatar asked Feb 11 '26 15:02

Steve


1 Answers

Incremental database publishing is a deployment feature where the source code for the schema (new version) is compared with the live database schema (current version) to create a change script to upgrade the current version to the new version.

For example, if your schema has a table with a few columns and in the source code you add a new column definition, when publishing it would create a script to add the new column to the table.

It's not surprising that a database engine besides SQL Server isn't supported, since supporting other database engines would be a significant amount of work. All it really means is that you'll have to synchronize database changes yourself. MySQL may provide tools to help with this, but Visual Studio doesn't.

like image 145
David Avatar answered Feb 15 '26 15:02

David



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!