S
S
slip312014-12-07 20:43:53
PHP
slip31, 2014-12-07 20:43:53

How to keep the database up to date (MySql)?

What to do with the base structure is clear. Migrations are everything. I sent it to git, the server took it to git. What to do with database data?
Let's say I added an article on a local database, or a user, or something else, how do I synchronize with the database on the server?
Are there any solutions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2014-12-07
@gbg

mysqldump -> text script -> git
And www.quest.com/toad-for-mysql - Toad

P
Philipp, 2014-12-07
@zoonman

And how are data creation requests different from structure changes? - Nothing.
Use the same approach.
You can do replication as a last resort, but this will not be reflected in git.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question